Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.5)
E20742-01


oracle.as.scheduler
Enum JobSetStep.LinkType

java.lang.Object
  extended by java.lang.Enum<JobSetStep.LinkType>
      extended by oracle.as.scheduler.JobSetStep.LinkType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JobSetStep.LinkType>
Enclosing class:
JobSetStep

public static enum JobSetStep.LinkType
extends java.lang.Enum<JobSetStep.LinkType>

Link types for the links for a serial JobSetStep. A link is the step id to run next when this step has a certain result state.


Enum Constant Summary
ON_ERROR
          LinkType for the stepId to link to on step error.
ON_SUCCESS
          LinkType for the stepId to link to on step success.
ON_WARNING
          LinkType for the stepId to link to on step warning.
 
Method Summary
static JobSetStep.LinkType getType(int value)
          Returns the LinkType corresponding to the given value.
 java.lang.String toString(java.util.Locale locale)
           
 int value()
          Returns the value of this enum.
static JobSetStep.LinkType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JobSetStep.LinkType[] 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

ON_SUCCESS

public static final JobSetStep.LinkType ON_SUCCESS
LinkType for the stepId to link to on step success.


ON_ERROR

public static final JobSetStep.LinkType ON_ERROR
LinkType for the stepId to link to on step error.


ON_WARNING

public static final JobSetStep.LinkType ON_WARNING
LinkType for the stepId to link to on step warning.

Method Detail

values

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

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

valueOf

public static JobSetStep.LinkType 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:
IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()
Returns the value of this enum.

Returns:
the integer value of this enum.

getType

public static JobSetStep.LinkType getType(int value)
Returns the LinkType corresponding to the given value.

Parameters:
value - the integer value.
Returns:
the LinkType constant corresponding to the value.
Throws:
IllegalArgumentException - if the value doesn't correspond to any LinkType enum.

toString

public java.lang.String toString(java.util.Locale locale)

Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.5)
E20742-01


Copyright © 2008, 2011 Oracle. All rights reserved.