Interface OperationTransformationOverrideBuilder
- All Superinterfaces:
BaseAttributeTransformationDescriptionBuilder<OperationTransformationOverrideBuilder>
public interface OperationTransformationOverrideBuilder
extends BaseAttributeTransformationDescriptionBuilder<OperationTransformationOverrideBuilder>
Transformation builder interface for overriding a given operation. The phases described in the super-interface apply here as well.
- Author:
- Emanuel Muckenhuber
-
Method Summary
Modifier and TypeMethodDescriptionInherit all existing attribute rules from the resource for this operation transformer.Give the operation a new namesetCustomOperationTransformer(OperationTransformer operationTransformer) Set an optional operation transformer, which is called after all attribute rules added by the super-interface have been executed.Reject this operationMethods inherited from interface org.jboss.as.controller.transform.description.BaseAttributeTransformationDescriptionBuilder
addRejectCheck, addRejectCheck, addRejectChecks, addRejectChecks, addRename, addRename, addRenames, end, setDiscard, setDiscard, setDiscard, setValueConverter, setValueConverter
-
Method Details
-
rename
Give the operation a new name- Parameters:
newName- the new name of the operation- Returns:
- this operation transformer builder
-
setCustomOperationTransformer
OperationTransformationOverrideBuilder setCustomOperationTransformer(OperationTransformer operationTransformer) Set an optional operation transformer, which is called after all attribute rules added by the super-interface have been executed.- Parameters:
operationTransformer- the operation transformer- Returns:
- this operation transformer builder
-
inheritResourceAttributeDefinitions
OperationTransformationOverrideBuilder inheritResourceAttributeDefinitions()Inherit all existing attribute rules from the resource for this operation transformer.- Returns:
- this operation transformer builder
-
setReject
OperationTransformationOverrideBuilder setReject()Reject this operation- Returns:
- this operation transformer builder
-