Interface ModelBuilder
-
- All Superinterfaces:
InternalProtocolInterface
@Deprecated public interface ModelBuilder extends InternalProtocolInterface
Deprecated.2.1-rc-1 UseInternalCancellableConnection
instead.Mixed into a provider connection, to allow tooling models to be requested by the client.DO NOT CHANGE THIS INTERFACE - it is part of the cross-version protocol.
Consumer compatibility: This interface is used by all consumer versions from 1.6-rc-1 to 2.0.
Provider compatibility: This interface is implemented by all provider versions from 1.6-rc-1.
- Since:
- 1.6-rc-1
- See Also:
ConnectionVersion4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description BuildResult<?>
getModel(ModelIdentifier modelIdentifier, BuildParameters operationParameters)
Deprecated.
-
-
-
Method Detail
-
getModel
@Deprecated BuildResult<?> getModel(ModelIdentifier modelIdentifier, BuildParameters operationParameters) throws BuildExceptionVersion1, InternalUnsupportedModelException, InternalUnsupportedBuildArgumentException, java.lang.IllegalStateException
Deprecated.Performs some action against a build and returns the requested model.Consumer compatibility: This method is used by all consumer versions from 1.6-rc-1 to 2.0.
Provider compatibility: This method is implemented by all provider versions from 1.6-rc-1.
- Parameters:
modelIdentifier
- The identifier of the model to build.- Throws:
BuildExceptionVersion1
- On build failure.InternalUnsupportedModelException
- When the requested model is not supported.InternalUnsupportedBuildArgumentException
- When the specified command-line options are not supported.java.lang.IllegalStateException
- When this connection has been stopped.- Since:
- 1.6-rc-1
-
-