org.eclipse.stardust.engine.api.runtime
Class LogCode

java.lang.Object
  extended by org.eclipse.stardust.common.IntKey
      extended by org.eclipse.stardust.engine.api.runtime.LogCode
All Implemented Interfaces:
Serializable, Comparable

public class LogCode
extends org.eclipse.stardust.common.IntKey

Wrapper class for LogEntry codes. It provides human readable names for the log codes.

Version:
$Revision$
Author:
ubirkemeyer
See Also:
Serialized Form

Field Summary
static LogCode ADMINISTRATION
          The LogEntry was created by an external administration event.
static LogCode APPLICATION
          The LogEntry was created during application execution
static LogCode DAEMON
          The LogEntry was created during daemon execution.
static LogCode DATA
          The LogEntry was created by a process data operation
static LogCode ENGINE
          The LogEntry was created in the engine context.
static LogCode EVENT
          The LogEntry was created during event handling.
static LogCode EXTERNAL
          The LogEntry was created by an external invocation.
static LogCode PWH
          The LogEntry was created in the Process Warehouse context.
static LogCode RECOVERY
          The LogEntry was created during recovery.
static LogCode SECURITY
          The LogEntry was created in the security context.
static LogCode UNKNOWN
          Unknown context.
 
Method Summary
static LogCode getKey(int code)
          Factory method to get the LogCode object corresponding to the numerical code.
 
Methods inherited from class org.eclipse.stardust.common.IntKey
compareTo, equals, getKey, getKeys, getName, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final LogCode UNKNOWN
Unknown context.


PWH

public static final LogCode PWH
The LogEntry was created in the Process Warehouse context.


SECURITY

public static final LogCode SECURITY
The LogEntry was created in the security context.


ENGINE

public static final LogCode ENGINE
The LogEntry was created in the engine context.


RECOVERY

public static final LogCode RECOVERY
The LogEntry was created during recovery.


DAEMON

public static final LogCode DAEMON
The LogEntry was created during daemon execution.


EVENT

public static final LogCode EVENT
The LogEntry was created during event handling.


EXTERNAL

public static final LogCode EXTERNAL
The LogEntry was created by an external invocation.


ADMINISTRATION

public static final LogCode ADMINISTRATION
The LogEntry was created by an external administration event.


DATA

public static final LogCode DATA
The LogEntry was created by a process data operation


APPLICATION

public static final LogCode APPLICATION
The LogEntry was created during application execution

Method Detail

getKey

public static LogCode getKey(int code)
Factory method to get the LogCode object corresponding to the numerical code.

Parameters:
code - the numeric code of the LogCode.
Returns:
the LogCode object.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.