Interface CustomFieldValidator
- All Known Implementing Classes:
CustomFieldValidatorImpl
public interface CustomFieldValidator
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisValidType(String fieldType) Check that the given CustomFieldType is valid.validateDetails(String fieldName, String fieldType, String searcher) validateType(String fieldType) Check that the given CustomFieldType is valid.
-
Method Details
-
validateType
Check that the given CustomFieldType is valid.- Parameters:
fieldType- the FieldType- Returns:
- An ErrorCollection containing any validation errors.
-
isValidType
Check that the given CustomFieldType is valid. This does the same logical checks asvalidateType(String), but returns a boolean instead of ErrorCollection.- Parameters:
fieldType- the FieldType- Returns:
- true if the field type is not-null and valid.
-
validateDetails
-