Interface Validator
- All Known Implementing Classes:
BooleanValidator, CspSandboxBrowserDifferentiationValidator, CspSandboxContentDispositionValidator, CspSandboxContentTypeValidator, DuplicatedUsersPropertyValidator, EncryptorPropertyValidator, EnumValidator, HexColourValidator, IntegerValidator, LinkSortFieldListValidator, NavigableFieldListValidator, NonValidator, ProjectKeyRegexValidator, RegexValidator, SimpleDateFormatValidator, StableSearchResultCountValidator, ViewIssueMaxCacheSizeValidator, ViewIssueMinimumHiddenCommentsValidator
public interface Validator
Small abstraction to enable valdiation of Strings.
- Since:
- v4.4
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionValidate the given string to see if it passes and if not, why not.
-
Method Details
-
validate
Validate the given string to see if it passes and if not, why not.- Parameters:
value- all validation input is a String.- Returns:
- A result that contains access to the details of the validation outcome.
-