org.yawlfoundation.yawl.worklet.support
Class EventLogger

java.lang.Object
  extended by org.yawlfoundation.yawl.worklet.support.EventLogger

public class EventLogger
extends Object

An event log file implementation.

Author:
Michael Adams v0.8, 04-09/2006

Field Summary
static String eCancel
           
static String eCheckIn
           
static String eCheckOut
           
static String eComplete
           
static String eDecline
           
static String eLaunch
           
static String eUndoCheckOut
           
 
Constructor Summary
EventLogger()
           
 
Method Summary
static void log(DBManager mgr, String event, String caseId, YSpecificationID specId, String taskId, String parentCaseId, int xType)
          writes an event to the event log
static void log(DBManager mgr, String event, WorkItemRecord wir, int xType)
          writes an event to the event log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eCheckOut

public static final String eCheckOut
See Also:
Constant Field Values

eDecline

public static final String eDecline
See Also:
Constant Field Values

eUndoCheckOut

public static final String eUndoCheckOut
See Also:
Constant Field Values

eLaunch

public static final String eLaunch
See Also:
Constant Field Values

eCheckIn

public static final String eCheckIn
See Also:
Constant Field Values

eCancel

public static final String eCancel
See Also:
Constant Field Values

eComplete

public static final String eComplete
See Also:
Constant Field Values
Constructor Detail

EventLogger

public EventLogger()
Method Detail

log

public static void log(DBManager mgr,
                       String event,
                       String caseId,
                       YSpecificationID specId,
                       String taskId,
                       String parentCaseId,
                       int xType)
writes an event to the event log

Parameters:
event - - the type of event to log
caseId - - the case that caused the event
specId - - the specification id of the case
taskId - - the id of the task the worklet was subbed for
parentCaseId - - the case id of the original workitem
xType - - the reason for raising a worklet case (maps to WorkletService.XTYPE)

log

public static void log(DBManager mgr,
                       String event,
                       WorkItemRecord wir,
                       int xType)
writes an event to the event log

Parameters:
event - - the type of event to log
wir - - the workitem that triggered the event


Copyright © 2004-2012 The YAWL Foundation.