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