Package org.passay
Interface RuleResult
- All Known Implementing Classes:
AbstractRuleResult,FailureRuleResult,SuccessRuleResult
public interface RuleResult
Result of a password rule.
-
Method Summary
Modifier and TypeMethodDescriptionReturns any details associated with the rule verification.Returns metadata associated with the rule verification.booleanisValid()Returns whether the result of the rule verification is a valid password.
-
Method Details
-
isValid
boolean isValid()Returns whether the result of the rule verification is a valid password.- Returns:
- valid password for this rule
-
getMetadata
RuleResultMetadata getMetadata()Returns metadata associated with the rule verification.- Returns:
- rule result metadata
-
getDetails
List<RuleResultDetail> getDetails()Returns any details associated with the rule verification.- Returns:
- rule result details
-