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.SerializableThis class defines the validation result. The validation results are organized per document per validator.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classValidationResult.ValidationMessageThis class defines the data structure for a single validation message.
-
Constructor Summary
Constructors Constructor and Description ValidationResult()
-
Method Summary
Methods Modifier and Type Method and Description voidaddMessage(java.lang.String documentUri, java.lang.String validator, ValidationResult.ValidationMessage msg)Adds validation messages.java.util.SetgetDocuments()Returns all the document uris this object contains.java.util.ListgetValidationMessages(java.lang.String documentUri, java.lang.String validator)Returns the validation messages for the specified document from the sepcified validator.java.util.SetgetValidators(java.lang.String documentUri)Returns all the validators for the specified document.
-
-
-
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.
-
-