Interface AttributeTransformationRequirementChecker
- All Known Implementing Classes:
AttributeTransformationRequirementChecker.ListAttributeTransformationRequirementChecker,AttributeTransformationRequirementChecker.ObjectFieldsAttributeTransformationRequirementChecker
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Handler that
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.- Author:
- Brian Stansberry (c) 2012 Red Hat Inc.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AttributeTransformationRequirementCheckerstatic final AttributeTransformationRequirementChecker -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAttributeTransformationRequired(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.
-
Field Details
-
SIMPLE_EXPRESSIONS
-
SIMPLE_LIST_EXPRESSIONS
-
-
Method Details
-
isAttributeTransformationRequired
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.- Parameters:
attributeName- the name of the attributeattributeValue- the value of the attributecontext- the context of the transformation- Returns:
trueif the attribute or parameter value is not understandable by the target process and also cannot be transformed,falseotherwise
-