com.ibm.websphere.management.configservice

Class ValidationResult

  1. java.lang.Object
  2. extended bycom.ibm.websphere.management.configservice.ValidationResult
All implemented interfaces:
java.io.Serializable

  1. public class ValidationResult
  2. extends java.lang.Object
  3. 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

Modifier and Type Class and Description
  1. static class
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
  1. void
addMessage(java.lang.String documentUri,java.lang.String validator,ValidationResult.ValidationMessage msg)
Adds validation messages.
  1. java.util.Set
getDocuments()
Returns all the document uris this object contains.
  1. java.util.List
getValidationMessages(java.lang.String documentUri,java.lang.String validator)
Returns the validation messages for the specified document from the sepcified validator.
  1. 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

  1. public ValidationResult()

Method Detail

addMessage

  1. public void addMessage(java.lang.String documentUri,
  2. java.lang.String validator,
  3. ValidationResult.ValidationMessage msg)
Adds validation messages. This method should never be called by end user.

getValidationMessages

  1. public java.util.List getValidationMessages( java.lang.String documentUri,
  2. 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

  1. 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

  1. public java.util.Set getDocuments( )
Returns all the document uris this object contains.