public static class AttributeTransformationRequirementChecker.ObjectFieldsAttributeTransformationRequirementChecker extends Object implements AttributeTransformationRequirementChecker
AttributeTransformationRequirementChecker.ListAttributeTransformationRequirementChecker, AttributeTransformationRequirementChecker.ObjectFieldsAttributeTransformationRequirementChecker
SIMPLE_EXPRESSIONS, SIMPLE_LIST_EXPRESSIONS
Constructor and Description |
---|
ObjectFieldsAttributeTransformationRequirementChecker(Map<String,AttributeTransformationRequirementChecker> fields) |
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.
|
public ObjectFieldsAttributeTransformationRequirementChecker(Map<String,AttributeTransformationRequirementChecker> fields)
public boolean isAttributeTransformationRequired(String attributeName, org.jboss.dmr.ModelNode attributeValue, TransformationContext context)
AttributeTransformationRequirementChecker
isAttributeTransformationRequired
in interface AttributeTransformationRequirementChecker
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.