public interface AttributeTransformationRequirementChecker
OperationTransformer
and ResourceTransformer
implementations can accept to
delegate decisions about whether a given attribute requires transformation. An implementation of this class would
perform a check appropriate to the OperationTransformer
and ResourceTransformer
with which it
would be used.Modifier and Type | Interface and Description |
---|---|
static class |
AttributeTransformationRequirementChecker.ListAttributeTransformationRequirementChecker |
static class |
AttributeTransformationRequirementChecker.ObjectFieldsAttributeTransformationRequirementChecker |
Modifier and Type | Field and Description |
---|---|
static AttributeTransformationRequirementChecker |
SIMPLE_EXPRESSIONS |
static AttributeTransformationRequirementChecker |
SIMPLE_LIST_EXPRESSIONS |
Modifier and Type | Method and Description |
---|---|
boolean |
isAttributeTransformationRequired(String attributeName,
org.jboss.dmr.ModelNode attributeValue,
TransformationContext context)
Gets whether the given attribute or parameter value is not understandable by the target process and needs
to be transformed.
|
static final AttributeTransformationRequirementChecker SIMPLE_EXPRESSIONS
static final AttributeTransformationRequirementChecker SIMPLE_LIST_EXPRESSIONS
boolean isAttributeTransformationRequired(String attributeName, org.jboss.dmr.ModelNode attributeValue, TransformationContext context)
attributeName
- the name of the attributeattributeValue
- the value of the attributecontext
- the context of the transformationtrue
if the attribute or parameter value is not understandable by the target process and also
cannot be transformed, false
otherwiseCopyright © 2023 JBoss by Red Hat. All rights reserved.