Class AttributeTransformationRequirementChecker.ObjectFieldsAttributeTransformationRequirementChecker
java.lang.Object
org.jboss.as.controller.transform.AttributeTransformationRequirementChecker.ObjectFieldsAttributeTransformationRequirementChecker
- All Implemented Interfaces:
AttributeTransformationRequirementChecker
- Enclosing interface:
- AttributeTransformationRequirementChecker
public static class AttributeTransformationRequirementChecker.ObjectFieldsAttributeTransformationRequirementChecker
extends Object
implements AttributeTransformationRequirementChecker
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.as.controller.transform.AttributeTransformationRequirementChecker
AttributeTransformationRequirementChecker.ListAttributeTransformationRequirementChecker, AttributeTransformationRequirementChecker.ObjectFieldsAttributeTransformationRequirementChecker -
Field Summary
Fields inherited from interface org.jboss.as.controller.transform.AttributeTransformationRequirementChecker
SIMPLE_EXPRESSIONS, SIMPLE_LIST_EXPRESSIONS -
Constructor Summary
ConstructorsConstructorDescriptionObjectFieldsAttributeTransformationRequirementChecker(Map<String, AttributeTransformationRequirementChecker> fields) -
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.
-
Constructor Details
-
ObjectFieldsAttributeTransformationRequirementChecker
public ObjectFieldsAttributeTransformationRequirementChecker(Map<String, AttributeTransformationRequirementChecker> fields)
-
-
Method Details
-
isAttributeTransformationRequired
public boolean isAttributeTransformationRequired(String attributeName, org.jboss.dmr.ModelNode attributeValue, TransformationContext context) Description copied from interface:AttributeTransformationRequirementCheckerGets whether the given attribute or parameter value is not understandable by the target process and needs to be transformed.- Specified by:
isAttributeTransformationRequiredin interfaceAttributeTransformationRequirementChecker- 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
-