Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.5.0)

E17060-02


oracle.odi.domain.runtime.loadplan
Enum OdiLoadPlanStepRunScenario.RestartType

java.lang.Object
  extended by java.lang.Enum<OdiLoadPlanStepRunScenario.RestartType>
      extended by oracle.odi.domain.runtime.loadplan.OdiLoadPlanStepRunScenario.RestartType

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OdiLoadPlanStepRunScenario.RestartType>
Enclosing class:
OdiLoadPlanStepRunScenario

public static enum OdiLoadPlanStepRunScenario.RestartType
extends java.lang.Enum<OdiLoadPlanStepRunScenario.RestartType>

Restart behavior of this step when the Load Plan is restarted. Values can be:
-From Step: When restarting the Load Plan and this scenario is known to be in failure, restart it from its latest step within its execution sequence as defined in its session. Note that this option is restricted by the settings of the Session Level Logging and Session Step Level Logging as defined in the Load Plan.
-From Task: When restarting the Load Plan and this scenario is known to be in failure, restart it from its latest task within its execution sequence as defined in its session. Note that this option is restricted by the settings of the Session Level Logging, Session Step Level Logging and Task Level Logging as defined in the Load Plan.
-New Session: When restarting the Load Plan and this scenario is known to be in failure, restart it by creating a new session. This is the default value.

Note: When restarting from a Step or a Task, all the database sessions are re-opened. This means that any uncommitted changes are lost. These options should be used with extreme caution as they may result in data loss.


Enum Constant Summary
RUN_SCENARIO_FROM_STEP
          When restarting the Load Plan and this scenario is known to be in failure, restart it from its latest step within
RUN_SCENARIO_FROM_TASK
          When restarting the Load Plan and this scenario is known to be in failure, restart it from its latest task within its execution sequence as defined in its session.
RUN_SCENARIO_NEW_SESSION
          When restarting the Load Plan and this scenario is known to be in failure, restart it by creating a new session.

 

Method Summary
static OdiLoadPlanStepRunScenario.RestartType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OdiLoadPlanStepRunScenario.RestartType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

RUN_SCENARIO_NEW_SESSION

public static final OdiLoadPlanStepRunScenario.RestartType RUN_SCENARIO_NEW_SESSION
When restarting the Load Plan and this scenario is known to be in failure, restart it by creating a new session. This is the default value.

RUN_SCENARIO_FROM_STEP

public static final OdiLoadPlanStepRunScenario.RestartType RUN_SCENARIO_FROM_STEP
When restarting the Load Plan and this scenario is known to be in failure, restart it from its latest step within

RUN_SCENARIO_FROM_TASK

public static final OdiLoadPlanStepRunScenario.RestartType RUN_SCENARIO_FROM_TASK
When restarting the Load Plan and this scenario is known to be in failure, restart it from its latest task within its execution sequence as defined in its session. Note that this option is restricted by the settings of the Session Level Logging, Session Step Level Logging and Task Level Logging as defined in the Load Plan.

Method Detail

values

public static OdiLoadPlanStepRunScenario.RestartType[] 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 (OdiLoadPlanStepRunScenario.RestartType c : OdiLoadPlanStepRunScenario.RestartType.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OdiLoadPlanStepRunScenario.RestartType 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
java.lang.NullPointerException - if the argument is null

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.5.0)

E17060-02


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.