|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Condition
This is the basic interface which needs to be implemented by all rule conditions.
| Field Summary | |
|---|---|
static String |
EQ
|
static String |
GE
|
static String |
GT
|
static String |
IN
|
static String |
LE
|
static String |
LT
|
static String |
PM
|
static String |
RX
|
static String |
SX
|
| Method Summary | |
|---|---|
String |
getOperator()
This returns a textual representation of the operator of this condition. |
String |
getValue()
This method returns the value used by this condition to match the value of the variable against. |
String |
getVariable()
Returns the variable on which this condition acts. |
boolean |
matches(AuditEvent evt)
This method executes the condition against the given event. |
boolean |
matches(String pattern,
String input)
|
void |
setVariable(String variable)
Sets the variable on which this condition needs to match. |
| Field Detail |
|---|
static final String EQ
static final String LT
static final String LE
static final String GT
static final String GE
static final String PM
static final String RX
static final String SX
static final String IN
| Method Detail |
|---|
String getVariable()
void setVariable(String variable)
variable - String getValue()
String getOperator()
boolean matches(AuditEvent evt)
evt -
boolean matches(String pattern,
String input)
pattern - input -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||