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 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.
  • Field Details

  • 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 attribute
      attributeValue - the value of the attribute
      context - 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