Interface BuildActionRunner
-
- All Superinterfaces:
InternalProtocolInterface
@Deprecated public interface BuildActionRunner extends InternalProtocolInterface
Deprecated.1.6-rc-1. UseInternalCancellableConnection
instead.Mixed into a provider connection, to run actions against a build.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.2-rc-1 to 1.5. It is also used by later consumers when the provider does not implement newer interfaces.
Provider compatibility: This interface is implemented by all provider versions from 1.2-rc-1.
- Since:
- 1.2-rc-1
- See Also:
ConnectionVersion4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description <T> BuildResult<T>
run(java.lang.Class<T> type, BuildParameters operationParameters)
Deprecated.1.6-rc-1.
-
-
-
Method Detail
-
run
@Deprecated <T> BuildResult<T> run(java.lang.Class<T> type, BuildParameters operationParameters) throws java.lang.UnsupportedOperationException, java.lang.IllegalStateException
Deprecated.Performs some action against a build and returns some result of the given type.Consumer compatibility: This method is used by all consumer versions from 1.2-rc-1 to 1.5.
Provider compatibility: This method is implemented by all provider versions from 1.2-rc-1. Provider versions 3.0 and later fail with a 'no longer supported' exception.
- Parameters:
type
- The desired result type. UseVoid
to indicate that no result is desired.- Throws:
java.lang.UnsupportedOperationException
- When the given model type is not supported.java.lang.IllegalStateException
- When this connection has been stopped.- Since:
- 1.2-rc-1
-
-