IBM WebSphere Application ServerTM
Release 8

com.ibm.wsspi.xct
Enum XCTLevel

java.lang.Object
  extended by java.lang.Enum<XCTLevel>
      extended by com.ibm.wsspi.xct.XCTLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<XCTLevel>

public enum XCTLevel
extends java.lang.Enum<XCTLevel>

This class is provided for WebSphere Application Server stack products and infrastructure extenders that want to use Cross Component Trace for product-specific correlation needs.

For details on usage, please contact IBM support.


Enum Constant Summary
DATA_SNAPSHOT
           
LOG
           
NO_METADATA
           
OFF
           
REQUESTID
           
THREAD_HOPS
           
 
Method Summary
 boolean fastEquals(XCTLevel xl)
           
static XCTLevel fromString(java.lang.String str)
           
 java.lang.String getDisplayMessage()
           
 int getIntValue()
           
static XCTLevel getLevel(int il)
           
static XCTLevel getLevel(java.lang.String displayMsg)
           
 boolean greaterThan(XCTLevel xl)
           
 boolean isMax()
           
 boolean lessThan(XCTLevel xl)
           
 XCTLevel max(XCTLevel other)
           
 java.lang.String toString()
           
static XCTLevel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static XCTLevel[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OFF

public static final XCTLevel OFF

REQUESTID

public static final XCTLevel REQUESTID

NO_METADATA

public static final XCTLevel NO_METADATA

THREAD_HOPS

public static final XCTLevel THREAD_HOPS

LOG

public static final XCTLevel LOG

DATA_SNAPSHOT

public static final XCTLevel DATA_SNAPSHOT
Method Detail

values

public static XCTLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (XCTLevel c : XCTLevel.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XCTLevel valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getDisplayMessage

public java.lang.String getDisplayMessage()

getIntValue

public int getIntValue()

max

public XCTLevel max(XCTLevel other)

isMax

public boolean isMax()

greaterThan

public boolean greaterThan(XCTLevel xl)

lessThan

public boolean lessThan(XCTLevel xl)

fastEquals

public boolean fastEquals(XCTLevel xl)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<XCTLevel>

getLevel

public static XCTLevel getLevel(java.lang.String displayMsg)

getLevel

public static XCTLevel getLevel(int il)

fromString

public static XCTLevel fromString(java.lang.String str)

IBM WebSphere Application ServerTM
Release 8