public class AuditEventDateMatch extends AuditEventMatch
This class implements a date match of an event.
| Modifier and Type | Field and Description |
|---|---|
static SimpleDateFormat |
FMT |
| Constructor and Description |
|---|
AuditEventDateMatch(Operator op,
Date date) |
AuditEventDateMatch(String var,
Operator op,
Date date) |
| Modifier and Type | Method and Description |
|---|---|
Date |
getDate() |
List<String> |
getSupportedOperators() |
Date |
getValueObject() |
String |
getVariable() |
boolean |
isValidOp(String op) |
boolean |
matches(AuditEvent evt)
Matches the expression against the given event.
|
Object |
readResolve() |
void |
setComparator(String compare) |
void |
setDate(Date val) |
String |
toXML()
Returns an XML representation of this match.
|
getOp, getOperator, getValue, setOperator, setValue, setVariable, toStringpublic static SimpleDateFormat FMT
public AuditEventDateMatch(Operator op, Date date) throws SyntaxException
SyntaxExceptionpublic AuditEventDateMatch(String var, Operator op, Date date) throws SyntaxException
SyntaxExceptionpublic void setComparator(String compare) throws SyntaxException
SyntaxExceptionpublic void setDate(Date val)
org.jwall.web.audit.filter.AuditEventMatch#addValue(java.lang.String)public Date getDate()
public Date getValueObject()
getValueObject in class Matchpublic boolean isValidOp(String op)
public String getVariable()
getVariable in class Matchpublic boolean matches(AuditEvent evt)
FilterExpressionmatches in interface FilterExpressionmatches in class AuditEventMatchAuditEventMatch.matches(org.jwall.web.audit.AuditEvent)public Object readResolve()
readResolve in class AuditEventMatchpublic String toXML()
AuditEventMatchtoXML in class AuditEventMatchCopyright © 2013 jwall.org. All Rights Reserved.