Package com.atlassian.bamboo.validation
Interface ValidationFunction
public interface ValidationFunction
Function used for field validation in
ValidationService
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(@NotNull String fieldName, @NotNull String fieldValue, @NotNull ErrorCollection errorCollection) Validate a specified field.
-
Method Details
-
validate
void validate(@NotNull @NotNull String fieldName, @NotNull @NotNull String fieldValue, @NotNull @NotNull ErrorCollection errorCollection) Validate a specified field.- Parameters:
fieldName
- name of the fieldfieldValue
- value of the fielderrorCollection
- existing error collection, to which errors should be appended
-