public class EventLogger
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
EventLogger.audit |
static class |
EventLogger.event |
Constructor and Description |
---|
EventLogger() |
Modifier and Type | Method and Description |
---|---|
static void |
addListener(ResourceEventListener listener) |
static void |
addListeners(java.util.Set<ResourceEventListener> listeners) |
static void |
audit(java.lang.String userid,
EventLogger.audit eType) |
static EventLogger.audit |
getAuditEventByName(java.lang.String eventName) |
static EventLogger.event |
getEventByName(java.lang.String eventName) |
static long |
getSpecificationKey(YSpecificationID specID)
Gets the primary key for a specification record, or inserts a new entry if it
doesn't exist and returns its key.
|
static void |
log(WorkItemRecord wir,
java.lang.String pid,
EventLogger.event eType) |
static void |
log(WorkItemRecord wir,
java.lang.String pid,
int eType) |
static void |
log(WorkItemRecord wir,
java.lang.String pid,
java.lang.String eventString) |
static void |
log(YSpecificationID specID,
java.lang.String caseID,
java.lang.String pid,
boolean launch) |
static void |
log(YSpecificationID specID,
java.lang.String caseID,
java.lang.String id,
EventLogger.event eType) |
static void |
logAutoTask(WorkItemRecord wir,
boolean start) |
static void |
removeListener(ResourceEventListener listener) |
static void |
setEventServer(ResourceGatewayServer server) |
static void |
setLogging(boolean flag) |
static void |
setOfferLogging(boolean flag) |
static java.util.List<java.lang.Runnable> |
shutdown() |
public static void setLogging(boolean flag)
public static void setOfferLogging(boolean flag)
public static void setEventServer(ResourceGatewayServer server)
public static void addListeners(java.util.Set<ResourceEventListener> listeners)
public static void addListener(ResourceEventListener listener)
public static void removeListener(ResourceEventListener listener)
public static java.util.List<java.lang.Runnable> shutdown()
public static void log(WorkItemRecord wir, java.lang.String pid, EventLogger.event eType)
public static void logAutoTask(WorkItemRecord wir, boolean start)
public static void log(WorkItemRecord wir, java.lang.String pid, java.lang.String eventString)
public static void log(YSpecificationID specID, java.lang.String caseID, java.lang.String id, EventLogger.event eType)
public static void log(WorkItemRecord wir, java.lang.String pid, int eType)
public static void log(YSpecificationID specID, java.lang.String caseID, java.lang.String pid, boolean launch)
public static void audit(java.lang.String userid, EventLogger.audit eType)
public static long getSpecificationKey(YSpecificationID specID)
specID
- the identifiers of the specificationpublic static EventLogger.event getEventByName(java.lang.String eventName)
public static EventLogger.audit getAuditEventByName(java.lang.String eventName)
Copyright © 2004-2014 The YAWL Foundation.