@Incubating public interface IsolatedProject
Project
that exposes only those properties that are safe to access from outside of
this
project, from the perspective of isolated projects.Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
|
java.lang.String |
getName() |
Returns the name of this project.
|
java.lang.String |
getPath() |
Returns the path of this project.
|
Directory |
getProjectDirectory() |
The directory containing the project build file.
|
IsolatedProject |
getRootProject() |
Returns the root project for the hierarchy that this project belongs to.
|
int |
hashCode() |
java.lang.String getName()
Returns the name of this project. The project's name is not necessarily unique within a project hierarchy. You
should use the getPath()
method for a unique identifier for the project.
If the root project is unnamed and is located on a file system root it will have a randomly-generated name
java.lang.String getPath()
Returns the path of this project. The path is the fully qualified name of the project.
Directory getProjectDirectory()
The directory containing the project build file.
IsolatedProject getRootProject()
Returns the root project for the hierarchy that this project belongs to. In the case of a single-project build, this method returns this project.
int hashCode()
hashCode
in class java.lang.Object
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object