Package com.atlassian.bamboo.validation
Interface ValidationFunction
-
public interface ValidationFunction
Function used for field validation inValidationService
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validate(@NotNull String fieldName, @NotNull String fieldValue, @NotNull ErrorCollection errorCollection)
Validate a specified field.
-
-
-
Method Detail
-
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
-
-