public interface ProjectDescriptor
A ProjectDescriptor declares the configuration required to create and evaluate a Project.
A ProjectDescriptor is created when you add a project to the build from the settings script, using Settings.include(String...) or Settings.includeFlat(String...). You can access the descriptors using one of
the lookup methods on the Settings object.
| Modifier and Type | Method and Description |
|---|---|
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.
|
ProjectDescriptor |
getParent()
Returns the parent of this project, if any.
|
String |
getPath()
Returns the path of this project.
|
File |
getProjectDir()
Returns the project directory of this project.
|
void |
setBuildFileName(String name)
Sets the name of the build file.
|
void |
setName(String name)
Sets the name of this project.
|
void |
setProjectDir(File dir)
Sets the project directory of this project.
|
String getName()
void setName(String name)
name - The new name for the project. Should not be nullFile getProjectDir()
void setProjectDir(File dir)
dir - The new project directory. Should not be null.String getBuildFileName()
void setBuildFileName(String name)
name - The build file name. Should not be null.File getBuildFile()
@Nullable ProjectDescriptor getParent()
Set<ProjectDescriptor> getChildren()
String getPath()