Package org.dogtagpki.legacy.policy
Interface IExpression
-
- All Known Implementing Classes:
AndExpression,OrExpression,SimpleExpression
public interface IExpressionInterface for a policy expression.NOTE: The Policy Framework has been replaced by the Profile Framework.
- Version:
- $Revision$, $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEQUAL_STRstatic java.lang.StringGE_STRstatic java.lang.StringGT_STRstatic java.lang.StringLE_STRstatic java.lang.StringLT_STRstatic java.lang.StringNEQUAL_STRstatic intOP_EQUALstatic intOP_GEstatic intOP_GTstatic intOP_LEstatic intOP_LTstatic intOP_NEQUAL
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanevaluate(IRequest req)Evaluate the Expression.java.lang.StringtoString()Convert to a string.
-
-
-
Field Detail
-
OP_EQUAL
static final int OP_EQUAL
- See Also:
- Constant Field Values
-
OP_NEQUAL
static final int OP_NEQUAL
- See Also:
- Constant Field Values
-
OP_GT
static final int OP_GT
- See Also:
- Constant Field Values
-
OP_LT
static final int OP_LT
- See Also:
- Constant Field Values
-
OP_GE
static final int OP_GE
- See Also:
- Constant Field Values
-
OP_LE
static final int OP_LE
- See Also:
- Constant Field Values
-
EQUAL_STR
static final java.lang.String EQUAL_STR
- See Also:
- Constant Field Values
-
NEQUAL_STR
static final java.lang.String NEQUAL_STR
- See Also:
- Constant Field Values
-
GT_STR
static final java.lang.String GT_STR
- See Also:
- Constant Field Values
-
GE_STR
static final java.lang.String GE_STR
- See Also:
- Constant Field Values
-
LT_STR
static final java.lang.String LT_STR
- See Also:
- Constant Field Values
-
LE_STR
static final java.lang.String LE_STR
- See Also:
- Constant Field Values
-
-
Method Detail
-
evaluate
boolean evaluate(IRequest req) throws EPolicyException
Evaluate the Expression.- Parameters:
req- The PKIRequest on which we are applying the condition.- Returns:
- The return value.
- Throws:
EPolicyException
-
toString
java.lang.String toString()
Convert to a string.- Overrides:
toStringin classjava.lang.Object
-
-