Schnittstelle IsolatedProject


@Incubating public interface IsolatedProject
An isolated view of Project that exposes only those properties that are safe to access from outside of this project, from the perspective of isolated projects.
Seit:
8.8
  • Methodendetails

    • getName

      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

      Gibt zurück:
      The name of this project. Never return null.
      Seit:
      8.8
    • getPath

      String getPath()

      Returns the path of this project. The path is the fully qualified name of the project.

      Gibt zurück:
      The path. Never returns null.
      Seit:
      8.8
    • getBuildTreePath

      @Incubating String getBuildTreePath()
      Returns a path to the project for the full build tree.
      Gibt zurück:
      The build tree path
      Seit:
      8.9
    • getProjectDirectory

      Directory getProjectDirectory()

      The directory containing the project build file.

      Gibt zurück:
      The project directory. Never returns null.
      Seit:
      8.8
    • getRootProject

      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.

      Gibt zurück:
      The root project. Never returns null.
      Seit:
      8.8
    • hashCode

      int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      boolean equals(Object obj)
      Setzt außer Kraft:
      equals in Klasse Object