com.atlassian.confluence.api.model.validation
Interface ValidationResult
@ExperimentalApi
public interface ValidationResult
Stores the results after an API Service validateX() method is called.
isAuthorized
boolean isAuthorized()
- Returns:
- true if the current user is permitted to perform the execution that the validation is for
isValid
boolean isValid()
- Returns:
- true if there are no errors in this result
getErrors
java.lang.Iterable<ValidationError> getErrors()
- Returns:
- an iterable of the errors stored in this result
Copyright © 2003-2014 Atlassian. All Rights Reserved.