public static class ValidationResult.ValidationMessage
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ValidationResult.ValidationMessage(java.lang.String msg,
java.lang.Object targetObject,
int severity,
int lineNo)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getLineNo()
Returns the line number inside the configuration document where the target object is defined.
|
java.lang.String |
getMessage()
Returns the content of the message.
|
int |
getSeverity()
Returns the severity of the validation message.
|
java.lang.Object |
getTargetObject()
Returns the config data that this validation message is for.
|
public ValidationResult.ValidationMessage(java.lang.String msg, java.lang.Object targetObject, int severity, int lineNo)
public java.lang.String getMessage()
public java.lang.Object getTargetObject()
ObjectName
that can be used to query or modify the configData using ConfigService
.public int getSeverity()
public int getLineNo()