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.
@FunctionalInterface public interface AttributeTransformationRequirementChecker
Handler thatOperationTransformer
andResourceTransformer
implementations can accept to delegate decisions about whether a given attribute requires transformation. An implementation of this class would perform a check appropriate to theOperationTransformer
andResourceTransformer
with which it would be used.- Author:
- Brian Stansberry (c) 2012 Red Hat Inc.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AttributeTransformationRequirementChecker.ListAttributeTransformationRequirementChecker
static class
AttributeTransformationRequirementChecker.ObjectFieldsAttributeTransformationRequirementChecker
-
Field Summary
Fields Modifier and Type Field Description static AttributeTransformationRequirementChecker
SIMPLE_EXPRESSIONS
static AttributeTransformationRequirementChecker
SIMPLE_LIST_EXPRESSIONS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
SIMPLE_EXPRESSIONS
static final AttributeTransformationRequirementChecker SIMPLE_EXPRESSIONS
-
SIMPLE_LIST_EXPRESSIONS
static final AttributeTransformationRequirementChecker SIMPLE_LIST_EXPRESSIONS
-
-
Method Detail
-
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:
true
if the attribute or parameter value is not understandable by the target process and also cannot be transformed,false
otherwise
-
-