Package org.jboss.as.model.test
Class ModelTestModelDescriptionValidator.ValidationFailure
- java.lang.Object
-
- org.jboss.as.model.test.ModelTestModelDescriptionValidator.ValidationFailure
-
- Enclosing class:
- ModelTestModelDescriptionValidator
public abstract static class ModelTestModelDescriptionValidator.ValidationFailure extends Object
Contains a validation error
-
-
Constructor Summary
Constructors Constructor Description ValidationFailure()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract org.jboss.dmr.ModelNodegetAddress()Gets the address the validation error happened atabstract StringgetAttributeName()Gets the name of the attribute failing validationabstract StringgetOperationName()Gets the name of the operation failing validationabstract StringgetOperationParameterName()Gets the name of the operation parameter failing validationabstract StringtoString()Formats the error string for printing
-
-
-
Method Detail
-
toString
public abstract String 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
public abstract String getOperationName()
Gets the name of the operation failing validation- Returns:
- the operation name or
nullif 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
nullif it was not an operation parameter
-
getAttributeName
public abstract String getAttributeName()
Gets the name of the attribute failing validation- Returns:
- the attribute name or
nullif it was not an attribute
-
-