public class EventLogger
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
eCancel |
static java.lang.String |
eCheckIn |
static java.lang.String |
eCheckOut |
static java.lang.String |
eComplete |
static java.lang.String |
eDecline |
static java.lang.String |
eLaunch |
static java.lang.String |
eUndoCheckOut |
Constructor and Description |
---|
EventLogger() |
Modifier and Type | Method and Description |
---|---|
static boolean |
log(java.lang.String event,
java.lang.String caseId,
YSpecificationID specId,
java.lang.String taskId,
java.lang.String parentCaseId,
int xType)
writes an event to the event log
|
static boolean |
log(java.lang.String event,
WorkItemRecord wir,
int xType)
writes an event to the event log
|
public static final java.lang.String eCheckOut
public static final java.lang.String eDecline
public static final java.lang.String eUndoCheckOut
public static final java.lang.String eLaunch
public static final java.lang.String eCheckIn
public static final java.lang.String eCancel
public static final java.lang.String eComplete
public static boolean log(java.lang.String event, java.lang.String caseId, YSpecificationID specId, java.lang.String taskId, java.lang.String parentCaseId, int xType)
event
- - the type of event to logcaseId
- - the case that caused the eventspecId
- - the specification id of the casetaskId
- - the id of the task the worklet was subbed forparentCaseId
- - the case id of the original workitemxType
- - the reason for raising a worklet case (maps to WorkletService.XTYPE)public static boolean log(java.lang.String event, WorkItemRecord wir, int xType)
event
- - the type of event to logwir
- - the workitem that triggered the eventCopyright © 2004-2014 The YAWL Foundation.