|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.mining.dmcscanning.logutils.filter.TimestampFilter
public class TimestampFilter
Event filter matching all events before, after or at a given date. For creating date-based range filters, compose two of these (left & right boundary)
Field Summary | |
---|---|
protected static int |
IS_AFTER
|
protected static int |
IS_BEFORE
|
protected static int |
IS_EXACTLY
|
protected int |
mode
|
protected java.util.Date |
timestamp
|
Constructor Summary | |
---|---|
protected |
TimestampFilter()
|
protected |
TimestampFilter(java.util.Date aTimestamp,
int aMode)
protected constructor - use factory methods! |
Method Summary | |
---|---|
static TimestampFilter |
after(java.util.Date aTimestamp)
Factory method: matches all events after a given date |
static TimestampFilter |
after(long aTimeMillis)
Factory method: matches all events after a given date in milliseconds |
static TimestampFilter |
before(java.util.Date aTimestamp)
Factory method: matches all events before a given date |
static TimestampFilter |
before(long aTimeMillis)
Factory method: matches all events before a given date in milliseconds |
static TimestampFilter |
exactly(java.util.Date aTimestamp)
Factory method: matches all events exactly at a given date |
static TimestampFilter |
exactly(long aTimeMillis)
Factory method: matches all events exactly at a given date in milliseconds |
boolean |
matches(AuditTrailEntry entry)
Determines, whether a given AuditTrailEntry matches this filter's conditions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static int IS_BEFORE
protected static int IS_AFTER
protected static int IS_EXACTLY
protected java.util.Date timestamp
protected int mode
Constructor Detail |
---|
protected TimestampFilter()
protected TimestampFilter(java.util.Date aTimestamp, int aMode)
aTimestamp
- timestamp to matchaMode
- mode in which to match (before, after, exactly)Method Detail |
---|
public static TimestampFilter before(java.util.Date aTimestamp)
aTimestamp
-
public static TimestampFilter after(java.util.Date aTimestamp)
aTimestamp
-
public static TimestampFilter exactly(java.util.Date aTimestamp)
aTimestamp
-
public static TimestampFilter before(long aTimeMillis)
aTimeMillis
-
public static TimestampFilter after(long aTimeMillis)
aTimeMillis
-
public static TimestampFilter exactly(long aTimeMillis)
aTimeMillis
-
public boolean matches(AuditTrailEntry entry)
EventFilter
matches
in interface EventFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |