Class DayOfWeek
java.lang.Object
org.opends.server.authorization.dseecompat.DayOfWeek
- All Implemented Interfaces:
KeywordBindRule
This class implements the dayofweek bind rule keyword.
-
Method Summary
Modifier and TypeMethodDescriptionstatic KeywordBindRule
Decode an string representing a dayofweek bind rule.evaluate
(AciEvalContext evalCtx) Performs evaluation of a dayofweek bind rule using the provided evaluation context.toString()
void
toString
(StringBuilder buffer) Appends a string representation of this object to the provided buffer.
-
Method Details
-
decode
public static KeywordBindRule decode(String expr, org.opends.server.authorization.dseecompat.EnumBindRuleType type) throws AciException Decode an string representing a dayofweek bind rule.- Parameters:
expr
- A string representation of the bind rule.type
- An enumeration representing the bind rule type.- Returns:
- A keyword bind rule class that can be used to evaluate this bind rule.
- Throws:
AciException
- If the expression string is invalid.
-
evaluate
Performs evaluation of a dayofweek bind rule using the provided evaluation context.- Specified by:
evaluate
in interfaceKeywordBindRule
- Parameters:
evalCtx
- An evaluation context to use in the evaluation.- Returns:
- An enumeration evaluation result.
-
toString
-
toString
Description copied from interface:KeywordBindRule
Appends a string representation of this object to the provided buffer.- Specified by:
toString
in interfaceKeywordBindRule
- Parameters:
buffer
- The buffer into which a string representation of this object should be appended.
-