net.flexmojos.oss.test
Enum ThreadStatus

java.lang.Object
  extended by java.lang.Enum<ThreadStatus>
      extended by net.flexmojos.oss.test.ThreadStatus
All Implemented Interfaces:
Serializable, Comparable<ThreadStatus>

public enum ThreadStatus
extends Enum<ThreadStatus>


Enum Constant Summary
DONE
           
ERROR
           
RUNNING
           
STARTED
           
 
Method Summary
static ThreadStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ThreadStatus[] 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

RUNNING

public static final ThreadStatus RUNNING

DONE

public static final ThreadStatus DONE

ERROR

public static final ThreadStatus ERROR

STARTED

public static final ThreadStatus STARTED
Method Detail

values

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

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

valueOf

public static ThreadStatus 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–2014 flexmojos. All rights reserved.