public interface ConnectionVersion4
Represents a connection to a particular Gradle implementation.
Implementations must be thread-safe.
Changes to this interface may break the cross-version protocol. If you change it, make sure you run the all tooling api tests to flush out compatibility issues.
| Modifier and Type | Method and Description |
|---|---|
void |
executeBuild(BuildParametersVersion1 buildParameters,
BuildOperationParametersVersion1 operationParameters)
Executes a build.
|
ConnectionMetaDataVersion1 |
getMetaData()
Returns the meta-data for this connection.
|
ProjectVersion3 |
getModel(Class<? extends ProjectVersion3> type,
BuildOperationParametersVersion1 operationParameters)
Deprecated.
|
void |
stop()
Stops this connection, blocking until complete.
|
void stop()
ConnectionMetaDataVersion1 getMetaData()
@Deprecated ProjectVersion3 getModel(Class<? extends ProjectVersion3> type, BuildOperationParametersVersion1 operationParameters) throws UnsupportedOperationException, IllegalStateException
Deprecated, please use InternalConnection.getTheModel(Class, BuildOperationParametersVersion1)
UnsupportedOperationException - When the given model type is not supported.IllegalStateException - When this connection has been stopped.void executeBuild(BuildParametersVersion1 buildParameters, BuildOperationParametersVersion1 operationParameters) throws IllegalStateException
buildParameters - The parameters for the build.IllegalStateException - When this connection has been stopped.Copyright © 2013. All rights reserved