public interface FormErrors
Used by FormValidationException
.
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getErrors(String field) |
Map<String,Collection<String>> |
getFieldErrors() |
Collection<String> |
getFormErrors() |
boolean |
isEmpty()
Indicates whether this instance of errors is empty, or has any errors.
|
@Nonnull Collection<String> getErrors(@Nonnull String field)
field
- that potentially contains some errors@Nonnull Map<String,Collection<String>> getFieldErrors()
@Nonnull Collection<String> getFormErrors()
boolean isEmpty()
true
, if this instance of FormErrors
contains no errors of any type,
false
otherwiseCopyright © 2019 Atlassian. All rights reserved.