Package org.dogtagpki.legacy.policy
Interface IExpression
-
- All Known Implementing Classes:
AndExpression
,OrExpression
,SimpleExpression
public interface IExpression
Interface 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.String
EQUAL_STR
static java.lang.String
GE_STR
static java.lang.String
GT_STR
static java.lang.String
LE_STR
static java.lang.String
LT_STR
static java.lang.String
NEQUAL_STR
static int
OP_EQUAL
static int
OP_GE
static int
OP_GT
static int
OP_LE
static int
OP_LT
static int
OP_NEQUAL
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
evaluate(IRequest req)
Evaluate the Expression.java.lang.String
toString()
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:
toString
in classjava.lang.Object
-
-