org.apache.qpid.qmf
Enum QMFEventSeverity

java.lang.Object
  extended by java.lang.Enum<QMFEventSeverity>
      extended by org.apache.qpid.qmf.QMFEventSeverity
All Implemented Interfaces:
Serializable, Comparable<QMFEventSeverity>

public enum QMFEventSeverity
extends Enum<QMFEventSeverity>


Enum Constant Summary
ALERT
           
CRITICAL
           
DEBUG
           
EMERGENCY
           
ERROR
           
INFORM
           
NOTICE
           
WARN
           
 
Method Summary
static QMFEventSeverity valueOf(String name)
          Returns the enum constant of this type with the specified name.
static QMFEventSeverity[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EMERGENCY

public static final QMFEventSeverity EMERGENCY

ALERT

public static final QMFEventSeverity ALERT

CRITICAL

public static final QMFEventSeverity CRITICAL

ERROR

public static final QMFEventSeverity ERROR

WARN

public static final QMFEventSeverity WARN

NOTICE

public static final QMFEventSeverity NOTICE

INFORM

public static final QMFEventSeverity INFORM

DEBUG

public static final QMFEventSeverity DEBUG
Method Detail

values

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

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

valueOf

public static QMFEventSeverity valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Licensed to the Apache Software Foundation