Groovy Documentation

org.gradle.initialization
Interface ProjectSpec


interface ProjectSpec

Method Summary
boolean containsProject(IProjectRegistry registry)

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

java.lang.String getDisplayName()

T selectProject(IProjectRegistry registry)

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

 

Method Detail

containsProject

public boolean containsProject(IProjectRegistry registry)
Determines whether the given registry contains at least 1 project which meets this spec.


getDisplayName

public java.lang.String getDisplayName()


selectProject

public T selectProject(IProjectRegistry registry)
Returns the single project in the given registry which meets this spec.
return:
the project. Never not return null.
throws:
InvalidUserDataException When project cannot be selected due to some user input mismatch.


 

Groovy Documentation