Interface InternalBuildControllerVersion2
-
public interface InternalBuildControllerVersion2
DO NOT CHANGE THIS INTERFACE - it is part of the cross-version protocol.
Consumer compatibility: This interface is used by all consumer versions from 4.4.
Provider compatibility: This interface is implemented by all provider versions from 4.4.
Subclasses may also implement
InternalActionAwareBuildController
- Since:
- 4.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BuildResult<?>
getModel(java.lang.Object target, ModelIdentifier modelIdentifier, java.lang.Object parameter)
Returns the requested model for a target object.
-
-
-
Method Detail
-
getModel
BuildResult<?> getModel(java.lang.Object target, ModelIdentifier modelIdentifier, java.lang.Object parameter) throws BuildExceptionVersion1, InternalUnsupportedModelException
Returns the requested model for a target object.Consumer compatibility: This method is used by all consumer versions from 4.4.
Provider compatibility: This method is implemented by all provider versions from 4.4.
- Parameters:
target
- The target object. May be null, in which case a default target is used.modelIdentifier
- The identifier of the model to build.parameter
- The parameter to be passed to the parameterized model builder. May be null, in which case the non parameterized model builder methods are used.- Throws:
BuildExceptionVersion1
- On build failure.InternalUnsupportedModelException
- When the requested model is not supported.- Since:
- 4.4
-
-