public class DirectoryRuleBuilder extends RuleBuilder<Directory>
RuleBuilder
specifically for Directory related ValidationRule
Modifier and Type | Method and Description |
---|---|
static DirectoryRuleBuilder |
ruleFor(String fieldName)
Constructs a RuleBuilder instance for the given field name
|
static Function<Directory,String> |
valueOf(String attributeKey)
|
build, check, check, eq, greaterThanOrEquals, ifMatchesThenSet, ifMatchesThenSet, inLongRange, isNull, isValidRegex, isValidURI, matchesAll, matchesAny, message, not, notNull, regex
public static DirectoryRuleBuilder ruleFor(String fieldName)
fieldName
- Name of the field for which error would be mappedDirectoryRuleBuilder
instance for the given field nameCopyright © 2021 Atlassian. All rights reserved.