org.lastbamboo.common.ice
Enum IceCheckListState

java.lang.Object
  extended by java.lang.Enum<IceCheckListState>
      extended by org.lastbamboo.common.ice.IceCheckListState
All Implemented Interfaces:
Serializable, Comparable<IceCheckListState>

public enum IceCheckListState
extends Enum<IceCheckListState>

Enumeration of states for ICE check lists.


Enum Constant Summary
COMPLETED
          The check list has completed all checks.
FAILED
          The check list failed to create a successful pair.
RUNNING
          We're still running through the pairs in the check list.
 
Method Summary
static IceCheckListState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IceCheckListState[] 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 IceCheckListState RUNNING
We're still running through the pairs in the check list.


COMPLETED

public static final IceCheckListState COMPLETED
The check list has completed all checks.


FAILED

public static final IceCheckListState FAILED
The check list failed to create a successful pair.

Method Detail

values

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

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

valueOf

public static IceCheckListState 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 © 2013 LittleShoot. All Rights Reserved.