public class RejectExpressionValuesTransformer extends Object implements ResourceTransformer, OperationTransformer
OperationTransformer.TransformedOperation
DEFAULT, DISCARD
DEFAULT, DEFAULT_REJECTION_POLICY, DISCARD, SUCCESSFUL_RESULT
Constructor and Description |
---|
RejectExpressionValuesTransformer(AttributeDefinition... attributes) |
RejectExpressionValuesTransformer(Map<String,AttributeTransformationRequirementChecker> specialCheckers) |
RejectExpressionValuesTransformer(Set<String> attributeNames) |
RejectExpressionValuesTransformer(Set<String> allAttributeNames,
Map<String,AttributeTransformationRequirementChecker> specialCheckers) |
RejectExpressionValuesTransformer(String... attributeNames) |
RejectExpressionValuesTransformer(String attributeName,
AttributeTransformationRequirementChecker checker) |
Modifier and Type | Method and Description |
---|---|
OperationTransformer |
getWriteAttributeTransformer()
Get a "write-attribute" operation transformer.
|
OperationTransformer.TransformedOperation |
transformOperation(TransformationContext context,
PathAddress address,
org.jboss.dmr.ModelNode operation)
Transform the operation.
|
void |
transformResource(ResourceTransformationContext context,
PathAddress address,
Resource resource)
Transform a resource.
|
public RejectExpressionValuesTransformer(AttributeDefinition... attributes)
public RejectExpressionValuesTransformer(Set<String> attributeNames)
public RejectExpressionValuesTransformer(String... attributeNames)
public RejectExpressionValuesTransformer(Set<String> allAttributeNames, Map<String,AttributeTransformationRequirementChecker> specialCheckers)
public RejectExpressionValuesTransformer(Map<String,AttributeTransformationRequirementChecker> specialCheckers)
public RejectExpressionValuesTransformer(String attributeName, AttributeTransformationRequirementChecker checker)
public OperationTransformer getWriteAttributeTransformer()
public OperationTransformer.TransformedOperation transformOperation(TransformationContext context, PathAddress address, org.jboss.dmr.ModelNode operation) throws OperationFailedException
OperationTransformer
transformOperation
in interface OperationTransformer
context
- the operation contextaddress
- the path addressoperation
- the operationOperationFailedException
public void transformResource(ResourceTransformationContext context, PathAddress address, Resource resource) throws OperationFailedException
ResourceTransformer
transformResource
in interface ResourceTransformer
context
- the resource transformation contextaddress
- the path addressresource
- the resource to transformOperationFailedException
Copyright © 2023 JBoss by Red Hat. All rights reserved.