com.netscape.certsrv.policy
Interface IExpression


public interface IExpression

Interface for a policy expression.

Version:
$Revision: 14561 $, $Date: 2007-05-01 10:28:56 -0700 (Tue, 01 May 2007) $

Field Summary
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
 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 class java.lang.Object