Package org.jboss.as.model.test
Class ModelTestModelDescriptionValidator.ValidationFailure
java.lang.Object
org.jboss.as.model.test.ModelTestModelDescriptionValidator.ValidationFailure
- Enclosing class:
- ModelTestModelDescriptionValidator
Contains a validation error
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.jboss.dmr.ModelNodeGets the address the validation error happened atabstract StringGets the name of the attribute failing validationabstract StringGets the name of the operation failing validationabstract StringGets the name of the operation parameter failing validationabstract StringtoString()Formats the error string for printing
-
Constructor Details
-
ValidationFailure
public ValidationFailure()
-
-
Method Details
-
toString
Formats the error string for printing -
getAddress
public abstract org.jboss.dmr.ModelNode getAddress()Gets the address the validation error happened at- Returns:
- the address
-
getOperationName
Gets the name of the operation failing validation- Returns:
- the operation name or
nullif it was not an operation
-
getOperationParameterName
Gets the name of the operation parameter failing validation- Returns:
- the operation parameter name or
nullif it was not an operation parameter
-
getAttributeName
Gets the name of the attribute failing validation- Returns:
- the attribute name or
nullif it was not an attribute
-