public class DefaultProjectDescriptor extends Object implements ProjectDescriptor, ProjectIdentifier
| Constructor and Description |
|---|
DefaultProjectDescriptor(DefaultProjectDescriptor parent,
String name,
File dir,
IProjectDescriptorRegistry projectDescriptorRegistry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
File |
getBuildFile()
Returns the build file for this project.
|
String |
getBuildFileName()
Returns the name of the build file for this project.
|
Set<ProjectDescriptor> |
getChildren()
Returns the children of this project, if any.
|
String |
getName()
Returns the name of this project.
|
DefaultProjectDescriptor |
getParent()
Returns the parent of this project, if any.
|
ProjectIdentifier |
getParentIdentifier() |
String |
getPath()
Returns the path of this project.
|
IProjectDescriptorRegistry |
getProjectDescriptorRegistry() |
File |
getProjectDir()
Returns the project directory of this project.
|
int |
hashCode() |
void |
setBuildFileName(String name)
Sets the name of the build file.
|
void |
setName(String name)
Sets the name of this project.
|
void |
setProjectDescriptorRegistry(IProjectDescriptorRegistry projectDescriptorRegistry) |
void |
setProjectDir(File dir)
Sets the project directory of this project.
|
String |
toString() |
public DefaultProjectDescriptor(DefaultProjectDescriptor parent, String name, File dir, IProjectDescriptorRegistry projectDescriptorRegistry)
public String getName()
ProjectDescriptorgetName in interface ProjectDescriptorgetName in interface ProjectIdentifierpublic void setName(String name)
ProjectDescriptorsetName in interface ProjectDescriptorname - The new name for the project. Should not be nullpublic File getProjectDir()
ProjectDescriptorgetProjectDir in interface ProjectDescriptorgetProjectDir in interface ProjectIdentifierpublic void setProjectDir(File dir)
ProjectDescriptorsetProjectDir in interface ProjectDescriptordir - The new project directory. Should not be null.public DefaultProjectDescriptor getParent()
ProjectDescriptorgetParent in interface ProjectDescriptorpublic ProjectIdentifier getParentIdentifier()
getParentIdentifier in interface ProjectIdentifierpublic Set<ProjectDescriptor> getChildren()
ProjectDescriptorgetChildren in interface ProjectDescriptorpublic String getPath()
ProjectDescriptorgetPath in interface ProjectDescriptorgetPath in interface ProjectIdentifierpublic String getBuildFileName()
ProjectDescriptorgetBuildFileName in interface ProjectDescriptorpublic void setBuildFileName(String name)
ProjectDescriptorsetBuildFileName in interface ProjectDescriptorname - The build file name. Should not be null.public File getBuildFile()
ProjectDescriptorgetBuildFile in interface ProjectDescriptorgetBuildFile in interface ProjectIdentifierpublic IProjectDescriptorRegistry getProjectDescriptorRegistry()
public void setProjectDescriptorRegistry(IProjectDescriptorRegistry projectDescriptorRegistry)
Copyright © 2013. All rights reserved