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

This class defines the validation result. The validation results are organized per document per validator.

See Also:
Serialized Form

Nested Class Summary
static class ValidationResult.ValidationMessage
          This class defines the data structure for a single validation message.
 
Constructor Summary
ValidationResult()
           
 
Method Summary
 void addMessage(java.lang.String documentUri, java.lang.String validator, ValidationResult.ValidationMessage msg)
          Adds validation messages.
 java.util.Set getDocuments()
          Returns all the document uris this object contains.
 java.util.List getValidationMessages(java.lang.String documentUri, java.lang.String validator)
          Returns the validation messages for the specified document from the sepcified validator.
 java.util.Set 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.



 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.