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

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

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

Wrapper class for the log entry types. It provides human readable names for the log type codes.

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

Field Summary
static LogType Debug
           
static int DEBUG
          The LogEntry contains debug information.
static LogType Error
           
static int ERROR
          The LogEntry contains an error.
static LogType Fatal
           
static int FATAL
          The LogEntry contains a fatal error.
static LogType Info
           
static int INFO
          The LogEntry contains information.
static int UNKNOWN
          The LogEntry contains unknown information.
static LogType Unknwon
           
static LogType Warn
           
static int WARN
          The LogEntry contains a warning.
 
Method Summary
static LogType getKey(int code)
          Factory method to get the LogType 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 int UNKNOWN
The LogEntry contains unknown information.

See Also:
Constant Field Values

DEBUG

public static final int DEBUG
The LogEntry contains debug information.

See Also:
Constant Field Values

INFO

public static final int INFO
The LogEntry contains information.

See Also:
Constant Field Values

WARN

public static final int WARN
The LogEntry contains a warning.

See Also:
Constant Field Values

ERROR

public static final int ERROR
The LogEntry contains an error.

See Also:
Constant Field Values

FATAL

public static final int FATAL
The LogEntry contains a fatal error.

See Also:
Constant Field Values

Unknwon

public static final LogType Unknwon

Debug

public static final LogType Debug

Info

public static final LogType Info

Warn

public static final LogType Warn

Error

public static final LogType Error

Fatal

public static final LogType Fatal
Method Detail

getKey

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

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


Copyright © 2017 Eclipse Stardust. All Rights Reserved.