Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.initialization
Interface ProjectSpec

All Known Implementing Classes:
  AbstractProjectSpec, BuildFileProjectSpec, DefaultProjectSpec, ProjectDirectoryProjectSpec

    public interface ProjectSpec

Method Summary
`boolean` | `containsProject(org.gradle.api.internal.project.IProjectRegistry<?> registry)` Determines whether the given registry contains at least 1 project which meets this spec.
`java.lang.String` | `getDisplayName()`
`
`<T extends org.gradle.api.internal.project.ProjectIdentifier> T`
` | `selectProject(org.gradle.api.internal.project.IProjectRegistry<? extends T> registry)` Returns the single project in the given registry which meets this spec.

Method Detail

### containsProject

    boolean containsProject(org.gradle.api.internal.project.IProjectRegistry<?> registry)

  Determines whether the given registry contains at least 1 project which meets this spec.

### selectProject

    <T extends org.gradle.api.internal.project.ProjectIdentifier> T selectProject(org.gradle.api.internal.project.IProjectRegistry<? extends T> registry)
                                                                              throws InvalidUserDataException

  Returns the single project in the given registry which meets this spec.

  Returns:
    the project. Never not return null.
  Throws:
    `InvalidUserDataException` - When project cannot be selected due to some user input mismatch.

### getDisplayName

    java.lang.String getDisplayName()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD