Class DirectoryRuleBuilder
java.lang.Object
com.atlassian.crowd.embedded.validator.rule.RuleBuilder<Directory>
com.atlassian.crowd.embedded.validator.rule.DirectoryRuleBuilder
Builder utility extending the base class
RuleBuilder specifically for Directory related ValidationRule- Since:
- 3.2.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic DirectoryRuleBuilderConstructs a RuleBuilder instance for the given field nameMethods inherited from class com.atlassian.crowd.embedded.validator.rule.RuleBuilder
build, check, check, eq, greaterThanOrEquals, ifMatchesThenSet, ifMatchesThenSet, inLongRange, isNull, isValidRegex, isValidURI, matchesAll, matchesAny, message, not, notNull, regex
-
Method Details
-
ruleFor
Constructs a RuleBuilder instance for the given field name- Parameters:
fieldName- Name of the field for which error would be mapped- Returns:
DirectoryRuleBuilderinstance for the given field name
-
valueOf
-