org.jboss.dna.common.collection
Enum Problem.Status

java.lang.Object
  extended by java.lang.Enum<Problem.Status>
      extended by org.jboss.dna.common.collection.Problem.Status
All Implemented Interfaces:
Serializable, Comparable<Problem.Status>
Enclosing class:
Problem

public static enum Problem.Status
extends Enum<Problem.Status>


Enum Constant Summary
ERROR
           
INFO
           
WARNING
           
 
Method Summary
static Problem.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Problem.Status[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ERROR

public static final Problem.Status ERROR

WARNING

public static final Problem.Status WARNING

INFO

public static final Problem.Status INFO
Method Detail

values

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

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

valueOf

public static Problem.Status 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


Copyright © 2008-2009 JBoss, a division of Red Hat. All Rights Reserved.