com.bowstreet.appserver.logmanager
Class Severity

java.lang.Object
  extended by com.bowstreet.appserver.logmanager.Severity

public final class Severity
extends java.lang.Object

The severity level of the Automation Engine

Author:
Bin Ji

Field Summary
static int ALL
          Severity is not specified
static int DEBUG
          Severity is DEBUG
static int ERROR
          Severity is ERROR
static int INFORMATION
          Severity is INFORMATION
static int SEVERE
          Severity is SEVERE
static int WARNING
          Severity is WARNING
 
Constructor Summary
Severity()
           
 
Method Summary
static java.lang.String getName(int value)
          convert an integer passed as argument to the name of severity .
static java.lang.String[] getNames()
          get the array of String representation of all severities.
static int getValue(java.lang.String name)
          convert the name of severity to the integer representation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL

public static final int ALL
Severity is not specified

See Also:
Constant Field Values

DEBUG

public static final int DEBUG
Severity is DEBUG

See Also:
Constant Field Values

ERROR

public static final int ERROR
Severity is ERROR

See Also:
Constant Field Values

INFORMATION

public static final int INFORMATION
Severity is INFORMATION

See Also:
Constant Field Values

SEVERE

public static final int SEVERE
Severity is SEVERE

See Also:
Constant Field Values

WARNING

public static final int WARNING
Severity is WARNING

See Also:
Constant Field Values
Constructor Detail

Severity

public Severity()
Method Detail

getName

public static java.lang.String getName(int value)
convert an integer passed as argument to the name of severity .

Parameters:
value - the int value of the severity
Returns:
the name of the severity

getNames

public static java.lang.String[] getNames()
get the array of String representation of all severities.


getValue

public static int getValue(java.lang.String name)
convert the name of severity to the integer representation.

Parameters:
name - the name of the severity
Returns:
the int value of the severity


Copyright © 2009 IBM. All Rights Reserved.