com.ibm.pim.job
Enum ScheduleStatus.Type

java.lang.Object
  extended by java.lang.Enum<ScheduleStatus.Type>
      extended by com.ibm.pim.job.ScheduleStatus.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ScheduleStatus.Type>
Enclosing interface:
ScheduleStatus

public static enum ScheduleStatus.Type
extends java.lang.Enum<ScheduleStatus.Type>

This is an enum type for job status.

Since:
6.0.0

Enum Constant Summary
COMPLETED
          indicate job is completed.
ERROR_COMPLETING
          indicate an error occurred while completing a job.
NOT_STARTED
          indicate job is not started.
RUNNING
          indicate job is still running.
SYSTEM_ERROR
          indicate an system error occurs.
 
Method Summary
static ScheduleStatus.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ScheduleStatus.Type[] 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

COMPLETED

public static final ScheduleStatus.Type COMPLETED
indicate job is completed.


RUNNING

public static final ScheduleStatus.Type RUNNING
indicate job is still running.


SYSTEM_ERROR

public static final ScheduleStatus.Type SYSTEM_ERROR
indicate an system error occurs.


ERROR_COMPLETING

public static final ScheduleStatus.Type ERROR_COMPLETING
indicate an error occurred while completing a job.


NOT_STARTED

public static final ScheduleStatus.Type NOT_STARTED
indicate job is not started.

Method Detail

values

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

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

valueOf

public static ScheduleStatus.Type 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