Package | Description |
---|---|
org.milyn.validation |
Modifier and Type | Method and Description |
---|---|
OnFailResult |
ValidationResult.getFatal()
Gets the
OnFailResult that was reported as a OnFail.FATAL . |
OnFailResult |
ValidationException.getOnFailResult() |
Modifier and Type | Method and Description |
---|---|
List<OnFailResult> |
ValidationResult.getErrors()
Gets all the
OnFailResult s that were reported at the OnFail.ERROR
level. |
List<OnFailResult> |
ValidationResult.getOKs()
Gets all the
OnFailResult s that were reported at the OnFail.OK
level. |
List<OnFailResult> |
ValidationResult.getWarnings()
Gets all the
OnFailResult s that were reported at the OnFail.WARN
level. |
Modifier and Type | Method and Description |
---|---|
protected void |
ValidationResult.addResult(OnFailResult result,
OnFail onFail)
Adds the
OnFailResult with OnFail level passed in. |
Constructor and Description |
---|
ValidationException(String message,
OnFailResult result) |
Copyright © 2020. All rights reserved.