Class ModelTestModelDescriptionValidator.ValidationFailure

    • Constructor Detail

      • ValidationFailure

        public ValidationFailure()
    • Method Detail

      • toString

        public abstract String toString()
        Formats the error string for printing
        Overrides:
        toString in class Object
        Returns:
        the formatted error string
      • getAddress

        public abstract org.jboss.dmr.ModelNode getAddress()
        Gets the address the validation error happened at
        Returns:
        the address
      • getOperationName

        public abstract String getOperationName()
        Gets the name of the operation failing validation
        Returns:
        the operation name or null if it was not an operation
      • getOperationParameterName

        public abstract String getOperationParameterName()
        Gets the name of the operation parameter failing validation
        Returns:
        the operation parameter name or null if it was not an operation parameter
      • getAttributeName

        public abstract String getAttributeName()
        Gets the name of the attribute failing validation
        Returns:
        the attribute name or null if it was not an attribute