@ExperimentalApi public class RestValidationResult extends Object implements ValidationResult
ValidationResult.| Constructor and Description |
|---|
RestValidationResult(ValidationResult that) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<ValidationError> |
getErrors() |
boolean |
isAuthorized() |
boolean |
isValid() |
ServiceException |
throwIfInvalid(String msg)
converts this validation result into an Exception and throws it
|
String |
toString() |
public RestValidationResult(ValidationResult that)
public boolean isAuthorized()
isAuthorized in interface ValidationResultpublic boolean isValid()
isValid in interface ValidationResultpublic Iterable<ValidationError> getErrors()
getErrors in interface ValidationResultpublic ServiceException throwIfInvalid(String msg) throws ServiceException
ValidationResultthrowIfInvalid in interface ValidationResultServiceExceptionCopyright © 2003–2015 Atlassian. All rights reserved.