public static class SimpleFormErrors.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SimpleFormErrors |
build() |
SimpleFormErrors.Builder |
fieldError(String field,
String error) |
SimpleFormErrors.Builder |
fieldErrors(String field,
String error,
String... moreErrors) |
SimpleFormErrors.Builder |
formError(String error) |
SimpleFormErrors.Builder |
formErrors(String error,
String... moreErrors) |
public SimpleFormErrors.Builder fieldError(@Nonnull String field, @Nonnull String error)
public SimpleFormErrors.Builder fieldErrors(@Nonnull String field, @Nonnull String error, @Nonnull String... moreErrors)
public SimpleFormErrors.Builder formError(@Nonnull String error)
public SimpleFormErrors.Builder formErrors(@Nonnull String error, @Nonnull String... moreErrors)
public SimpleFormErrors build()
Copyright © 2022 Atlassian. All rights reserved.