Class StringPolicy
java.lang.Object
com.evolveum.midpoint.model.common.stringpolicy.StringPolicy
Compiled string policy.
Represents a
StringPolicyType
transformed into structures that can efficiently execute value generation and checking.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
Limitation regarding a single character class: required minimum and allowed maximum occurrences of characters from within this class in the generated or checked string value. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull StringPolicy
compile
(@Nullable ConfigurationItem<StringPolicyType> policyConfigItem) int
int
int
toString()
-
Method Details
-
compile
@NotNull public static @NotNull StringPolicy compile(@Nullable @Nullable ConfigurationItem<StringPolicyType> policyConfigItem) throws ConfigurationException - Throws:
ConfigurationException
-
getMinLength
public int getMinLength() -
getMaxLength
public int getMaxLength() -
getMinUniqueChars
public int getMinUniqueChars() -
getCharacterClassLimitations
@NotNull public @NotNull Collection<StringPolicy.CharacterClassLimitation> getCharacterClassLimitations() -
toString
-