-
- All Known Implementing Classes:
CookieCompliance,HttpCompliance,UriCompliance
- Enclosing interface:
- ComplianceViolation
public static interface ComplianceViolation.ModeA Mode is a set ofComplianceViolations that are allowed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanallows(ComplianceViolation violation)java.util.Set<? extends ComplianceViolation>getAllowed()java.util.Set<? extends ComplianceViolation>getKnown()java.lang.StringgetName()
-
-
-
Method Detail
-
getName
java.lang.String getName()
- Returns:
- The name of the compliance violation mode.
-
allows
boolean allows(ComplianceViolation violation)
- Parameters:
violation- TheComplianceViolationto test- Returns:
- true iff the violation is allowed by this mode.
-
getKnown
java.util.Set<? extends ComplianceViolation> getKnown()
- Returns:
- The immutable set of all known violations for this mode.
-
getAllowed
java.util.Set<? extends ComplianceViolation> getAllowed()
- Returns:
- The immutable set of violations allowed by this mode.
-
-