com.atlassian.jira.web.action.admin.customfields
Interface CustomFieldValidator
- All Known Implementing Classes:
- CustomFieldValidatorImpl
public interface CustomFieldValidator
validateType
ErrorCollection validateType(String fieldType)
- Check that the given CustomFieldType is valid.
- Parameters:
fieldType
- the FieldType
- Returns:
- An ErrorCollection containing any validation errors.
isValidType
boolean isValidType(String fieldType)
- Check that the given CustomFieldType is valid.
This does the same logical checks as
validateType(String)
, but returns a boolean instead of ErrorCollection.
- Parameters:
fieldType
- the FieldType
- Returns:
- true if the field type is not-null and valid.
validateDetails
ErrorCollection validateDetails(String fieldName,
String fieldType,
String searcher)
Copyright © 2002-2011 Atlassian. All Rights Reserved.