org.netbeans.modules.bpel.model.ext.logging.api
Enum LogLevel

java.lang.Object
  extended by java.lang.Enum<LogLevel>
      extended by org.netbeans.modules.bpel.model.ext.logging.api.LogLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LogLevel>, EnumValue

public enum LogLevel
extends java.lang.Enum<LogLevel>
implements EnumValue

Author:
ads

Enum Constant Summary
CONFIG
           
FINE
           
FINER
           
FINEST
           
INFO
           
INVALID
           
SEVERE
           
WARNING
           
 
Method Summary
static LogLevel forString(java.lang.String str)
           
 boolean isInvalid()
          
 java.lang.String toString()
          
static LogLevel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LogLevel[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SEVERE

public static final LogLevel SEVERE

WARNING

public static final LogLevel WARNING

INFO

public static final LogLevel INFO

CONFIG

public static final LogLevel CONFIG

FINE

public static final LogLevel FINE

FINER

public static final LogLevel FINER

FINEST

public static final LogLevel FINEST

INVALID

public static final LogLevel INVALID
Method Detail

values

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

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

valueOf

public static LogLevel 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

isInvalid

public boolean isInvalid()

Specified by:
isInvalid in interface EnumValue
Returns:
Is valid or not this enumeration object.

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Enum<LogLevel>

forString

public static LogLevel forString(java.lang.String str)
Parameters:
str - String representation of enum.
Returns:
Enumeration class that have str representation.