public class ValidationResult extends Object implements Serializable
Constructor and Description |
---|
ValidationResult(List<ValidationMessage> errors,
List<ValidationMessage> warnings,
List<ValidationMessage> notes,
String runBy,
Date runDate)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
List<ValidationMessage> |
getErrors()
Gets the error information generated by the validation.
|
List<ValidationMessage> |
getNotes()
Gets the note information generated by the validation.
|
String |
getRunBy()
Gets the user who performed the validation.
|
Date |
getRunDate()
Gets the date when the validation was performed.
|
List<ValidationMessage> |
getWarnings()
Gets the warning information generated by the validation.
|
String |
toString() |
public ValidationResult(List<ValidationMessage> errors, List<ValidationMessage> warnings, List<ValidationMessage> notes, String runBy, Date runDate)
errors
- The validation error messages generated by the validation.warnings
- The validation warning messages generated by the validation.notes
- The validation note messages generated by the validation.runBy
- The user who performed the validation.runDate
- The date when the validation was performed.public Date getRunDate()
public String getRunBy()
public List<ValidationMessage> getErrors()
public List<ValidationMessage> getWarnings()
public List<ValidationMessage> getNotes()
<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>