|
|||||||||
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 ProjectDescriptor
getName
in interface org.gradle.api.internal.project.ProjectIdentifier
public void setName(java.lang.String name)
ProjectDescriptor
setName
in interface ProjectDescriptor
name
- The new name for the project. Should not be nullpublic java.io.File getProjectDir()
ProjectDescriptor
getProjectDir
in interface ProjectDescriptor
getProjectDir
in interface org.gradle.api.internal.project.ProjectIdentifier
public void setProjectDir(java.io.File dir)
ProjectDescriptor
setProjectDir
in interface ProjectDescriptor
dir
- The new project directory. Should not be null.public DefaultProjectDescriptor getParent()
ProjectDescriptor
getParent
in interface ProjectDescriptor
public org.gradle.api.internal.project.ProjectIdentifier getParentIdentifier()
getParentIdentifier
in interface org.gradle.api.internal.project.ProjectIdentifier
public java.util.Set<ProjectDescriptor> getChildren()
ProjectDescriptor
getChildren
in interface ProjectDescriptor
public java.lang.String getPath()
ProjectDescriptor
getPath
in interface ProjectDescriptor
getPath
in interface org.gradle.api.internal.project.ProjectIdentifier
public java.lang.String getBuildFileName()
ProjectDescriptor
getBuildFileName
in interface ProjectDescriptor
public void setBuildFileName(java.lang.String name)
ProjectDescriptor
setBuildFileName
in interface ProjectDescriptor
name
- The build file name. Should not be null.public java.io.File getBuildFile()
ProjectDescriptor
getBuildFile
in interface ProjectDescriptor
getBuildFile
in interface org.gradle.api.internal.project.ProjectIdentifier
public IProjectDescriptorRegistry getProjectDescriptorRegistry()
public void setProjectDescriptorRegistry(IProjectDescriptorRegistry projectDescriptorRegistry)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public 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 |