Interface ModelTestModelDescriptionValidator.ArbitraryDescriptorValidator

  • 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.ArbitraryDescriptorValidator
    Validate a resource or operation descriptor
    • Method Detail

      • validate

        String validate​(org.jboss.dmr.ModelNode currentNode,
                        String descriptor)
        Validate a resource or operation arbitrary descriptor
        Parameters:
        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