|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gradle.initialization.DefaultProjectDescriptor
public class DefaultProjectDescriptor
| Constructor Summary | |
|---|---|
DefaultProjectDescriptor(DefaultProjectDescriptor parent,
java.lang.String name,
java.io.File dir,
IProjectDescriptorRegistry projectDescriptorRegistry)
|
|
| Method Summary | |
|---|---|
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. |
org.gradle.api.internal.project.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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultProjectDescriptor(DefaultProjectDescriptor parent,
java.lang.String name,
java.io.File dir,
IProjectDescriptorRegistry projectDescriptorRegistry)
| Method Detail |
|---|
public java.lang.String getName()
ProjectDescriptor
getName in interface ProjectDescriptorgetName in interface org.gradle.api.internal.project.ProjectIdentifierpublic void setName(java.lang.String name)
ProjectDescriptor
setName in interface ProjectDescriptorname - The new name for the project. Should not be nullpublic java.io.File getProjectDir()
ProjectDescriptor
getProjectDir in interface ProjectDescriptorgetProjectDir in interface org.gradle.api.internal.project.ProjectIdentifierpublic void setProjectDir(java.io.File dir)
ProjectDescriptor
setProjectDir in interface ProjectDescriptordir - The new project directory. Should not be null.public DefaultProjectDescriptor getParent()
ProjectDescriptor
getParent in interface ProjectDescriptorpublic org.gradle.api.internal.project.ProjectIdentifier getParentIdentifier()
getParentIdentifier in interface org.gradle.api.internal.project.ProjectIdentifierpublic java.util.Set<ProjectDescriptor> getChildren()
ProjectDescriptor
getChildren in interface ProjectDescriptorpublic java.lang.String getPath()
ProjectDescriptor
getPath in interface ProjectDescriptorgetPath in interface org.gradle.api.internal.project.ProjectIdentifierpublic java.lang.String getBuildFileName()
ProjectDescriptor
getBuildFileName in interface ProjectDescriptorpublic void setBuildFileName(java.lang.String name)
ProjectDescriptor
setBuildFileName in interface ProjectDescriptorname - The build file name. Should not be null.public java.io.File getBuildFile()
ProjectDescriptor
getBuildFile in interface ProjectDescriptorgetBuildFile in interface org.gradle.api.internal.project.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.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||