Package com.atlassian.bitbucket.ui
Interface ValidationErrors
- All Known Subinterfaces:
- SettingsValidationErrors
public interface ValidationErrors
Used by 
ContextualFormFragment to report field validation errors.- 
Method SummaryModifier and TypeMethodDescriptionvoidaddFieldError(String fieldName, String errorMessage) Add an error message to a specific field.voidaddFormError(String errorMessage) Add a general error message that will be rendered at the top of the form.
- 
Method Details- 
addFieldErrorAdd an error message to a specific field. You can add multiple error messages per field.- Parameters:
- fieldName- the name attribute value of the field
- errorMessage- the error message. This should be an internationalised String resolved using SAL's I18nResolver.
 
- 
addFormErrorAdd a general error message that will be rendered at the top of the form.- Parameters:
- errorMessage- the error message. This should be an internationalised String resolved using SAL's I18nResolver.
 
 
-