com.ibm.websphere.management.configservice
Class ValidationResult
- java.lang.Object
com.ibm.websphere.management.configservice.ValidationResult
All implemented interfaces:
java.io.Serializable
- public class ValidationResult
- extends java.lang.Object
- implements java.io.Serializable
See Also:
Nested Class Summary
Modifier and Type | Class and Description |
---|---|
|
ValidationResult.ValidationMessage
This class defines the data structure for a single validation message.
|
Constructor Summary
Constructor and Description |
---|
ValidationResult()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
addMessage(java.lang.String documentUri,java.lang.String validator,ValidationResult.ValidationMessage msg)
Adds validation messages.
|
|
getDocuments()
Returns all the document uris this object contains.
|
|
getValidationMessages(java.lang.String documentUri,java.lang.String validator)
Returns the validation messages for the specified document from the sepcified validator.
|
|
getValidators(java.lang.String documentUri)
Returns all the validators for the specified document.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
ValidationResult
- public ValidationResult()
Method Detail
addMessage
- public void addMessage(java.lang.String documentUri,
- java.lang.String validator,
- ValidationResult.ValidationMessage msg)
Adds validation messages. This method should never be called by end user.
getValidationMessages
- public java.util.List getValidationMessages( java.lang.String documentUri,
- java.lang.String validator)
Returns the validation messages for the specified document from the sepcified validator.
Parameters:
documentUri
- uri of the document. validator
- name of the validator. getValidators
- public java.util.Set getValidators( java.lang.String documentUri)
Returns all the validators for the specified document.
Parameters:
documentUri
- the uri of the document. getDocuments
- public java.util.Set getDocuments( )
Returns all the document uris this object contains.