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
Constructors Constructor Description ObjectFieldsAttributeTransformationRequirementChecker(Map<String,AttributeTransformationRequirementChecker> fields)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
ObjectFieldsAttributeTransformationRequirementChecker
public ObjectFieldsAttributeTransformationRequirementChecker(Map<String,AttributeTransformationRequirementChecker> fields)
-
-
Method Detail
-
isAttributeTransformationRequired
public boolean isAttributeTransformationRequired(String attributeName, org.jboss.dmr.ModelNode attributeValue, TransformationContext context)
Description copied from interface:AttributeTransformationRequirementChecker
Gets whether the given attribute or parameter value is not understandable by the target process and needs to be transformed.- Specified by:
isAttributeTransformationRequired
in interfaceAttributeTransformationRequirementChecker
- 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
-
-