net.sf.mybatchfwk
Enum BatchService.STATE

java.lang.Object
  extended by java.lang.Enum<BatchService.STATE>
      extended by net.sf.mybatchfwk.BatchService.STATE
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BatchService.STATE>
Enclosing class:
BatchService

public static enum BatchService.STATE
extends java.lang.Enum<BatchService.STATE>

The state of the batch

Author:
Administrateur

Enum Constant Summary
INITIALIZING
           
RUNNING
           
SHUTDOWN
           
SLEEPING
           
WAITING_FOR_LAUNCH
           
WAITING_FOR_SHUTDOWN
           
 
Method Summary
static BatchService.STATE valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BatchService.STATE[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INITIALIZING

public static final BatchService.STATE INITIALIZING

WAITING_FOR_LAUNCH

public static final BatchService.STATE WAITING_FOR_LAUNCH

RUNNING

public static final BatchService.STATE RUNNING

SLEEPING

public static final BatchService.STATE SLEEPING

WAITING_FOR_SHUTDOWN

public static final BatchService.STATE WAITING_FOR_SHUTDOWN

SHUTDOWN

public static final BatchService.STATE SHUTDOWN
Method Detail

values

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

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

valueOf

public static BatchService.STATE 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


Copyright © 2006 null. All Rights Reserved.