Interface ModelTestModelDescriptionValidator.AttributeOrParameterArbitraryDescriptorValidator

Enclosing class:
ModelTestModelDescriptionValidator
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 static interface ModelTestModelDescriptionValidator.AttributeOrParameterArbitraryDescriptorValidator
Validate an attribute or parameter descriptor
  • Method Summary

    Modifier and Type
    Method
    Description
    validate(org.jboss.dmr.ModelType currentType, org.jboss.dmr.ModelNode currentNode, String descriptor)
    Validate an attribute or parameter descriptor
  • Method Details

    • validate

      String validate(org.jboss.dmr.ModelType currentType, org.jboss.dmr.ModelNode currentNode, String descriptor)
      Validate an attribute or parameter descriptor
      Parameters:
      currentType - the type of the parameter/attribute
      currentNode - the current attribute or parameter
      descriptor - the current descriptor being validated
      Returns:
      null if it passed validation, or an error message describing the problem