com.ibm.pim.job
Enum Schedule.Type

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

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

This is an enum type for schedule type.

Since:
6.0.0

Enum Constant Summary
DAILY
          schedule to run a job daily.
HOURLY
          schedule to run a job hourly.
IMMEDIATE
          schedule to run a job immediately.
MINUTE
          schedule to run a job in interval minutes.
MONTHLY
          schedule to run a job monthly.
ONE_TIME
          schedule to run a job for one time immediately.
WEEKLY
          schedule to run a job weekly.
YEARLY
          schedule to run a job yearly.
 
Method Summary
static Schedule.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Schedule.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

IMMEDIATE

public static final Schedule.Type IMMEDIATE
schedule to run a job immediately.


ONE_TIME

public static final Schedule.Type ONE_TIME
schedule to run a job for one time immediately.


MINUTE

public static final Schedule.Type MINUTE
schedule to run a job in interval minutes.


HOURLY

public static final Schedule.Type HOURLY
schedule to run a job hourly.


DAILY

public static final Schedule.Type DAILY
schedule to run a job daily.


WEEKLY

public static final Schedule.Type WEEKLY
schedule to run a job weekly.


MONTHLY

public static final Schedule.Type MONTHLY
schedule to run a job monthly.


YEARLY

public static final Schedule.Type YEARLY
schedule to run a job yearly.

Method Detail

values

public static final Schedule.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(Schedule.Type c : Schedule.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 Schedule.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