|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface ProjectConnection
Represents a long-lived connection to a Gradle project.
All implementations of GradleConnection are thread-safe, and may be shared by any number of threads.
All notifications from a given GradleConnection instance are delivered by a single thread at a time. Note, however, that the delivery thread may change over time.
Method Summary | |
---|---|
void
|
close()
Closes this connection. |
T
|
getModel(java.lang.Class viewType)
Fetches a snapshot of the model for this project. |
void
|
getModel(java.lang.Class viewType, ResultHandler handler)
Fetches a snapshot of the model for this project asynchronously. |
Method Detail |
---|
public void close()
public T getModel(java.lang.Class viewType)
viewType
- The model type.
- The model type.
public void getModel(java.lang.Class viewType, ResultHandler handler)
viewType
- The model type.handler
- The handler to pass the result to.
- The model type.
Groovy Documentation