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

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

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

Author:
ads

Enum Constant Summary
CRITICAL
           
INFORMATION
           
INVALID
           
MAJOR
           
MINOR
           
WARNING
           
 
Method Summary
static AlertLevel forString(java.lang.String str)
           
 boolean isInvalid()
          
 java.lang.String toString()
          
static AlertLevel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AlertLevel[] 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

CRITICAL

public static final AlertLevel CRITICAL

MAJOR

public static final AlertLevel MAJOR

MINOR

public static final AlertLevel MINOR

WARNING

public static final AlertLevel WARNING

INFORMATION

public static final AlertLevel INFORMATION

INVALID

public static final AlertLevel INVALID
Method Detail

values

public static final AlertLevel[] 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(AlertLevel c : AlertLevel.values())
        System.out.println(c);

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

valueOf

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

forString

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