| java.lang.Object |
| ↳ |
com.atlassian.bitbucket.validation.SimpleFormErrors |
Class Overview
Simple implementation of FormErrors as a plain Java object with a builder,
Summary
| Nested Classes |
|
class |
SimpleFormErrors.Builder |
|
| Public Methods |
|
@Nonnull
Collection<String>
|
getErrors(String field)
|
|
@Nonnull
Map<String, Collection<String>>
|
getFieldErrors()
|
|
@Nonnull
Collection<String>
|
getFormErrors()
|
|
boolean
|
isEmpty()
Indicates whether this instance of errors is empty, or has any errors.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
From interface
com.atlassian.bitbucket.validation.FormErrors
|
Public Methods
@Nonnull
public
Collection<String>
getErrors
(String field)
@Nonnull
public
Map<String, Collection<String>>
getFieldErrors
()
@Nonnull
public
Collection<String>
getFormErrors
()
public
boolean
isEmpty
()
Indicates whether this instance of errors is empty, or has any errors.
Returns
true, if this instance of FormErrors contains no errors of any type,
false otherwise