Skip navigation links

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

E17060-03


oracle.odi.domain.runtime.session
Enum ExecutionMode

java.lang.Object
  extended by java.lang.Enum<ExecutionMode>
      extended by oracle.odi.domain.runtime.session.ExecutionMode

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ExecutionMode>

public enum ExecutionMode
extends java.lang.Enum<ExecutionMode>

Enumeration representing execution mode of an OdiSession. An execution mode defines behavior for session execution logs and whether OdiSessionTaskLogs should be kept / stored in ODI repository, therefore an ExecutionMode always corresponds to a LogLevel that is used as level threshold: if execution went successfully, task logs with LogLevel above level threshold will not be kept in repository.

This enumeration allows for two types of execution: standard and tracking. The first one does not enable variable and sequence tracking and only defines level threshold for tasks whereas the second one is used to enable variable and sequence tracking.

Since:
ODI 11.1.1.5

Enum Constant Summary
STANDARD_MODE_0
          Standard execution with level threshold equals to LogLevel.LEVEL_0.
STANDARD_MODE_1
          Standard execution with level threshold equals to LogLevel.LEVEL_1.
STANDARD_MODE_2
          Standard execution with level threshold equals to LogLevel.LEVEL_2.
STANDARD_MODE_3
          Standard execution with level threshold equals to LogLevel.LEVEL_3.
STANDARD_MODE_4
          Standard execution with level threshold equals to LogLevel.LEVEL_4.
STANDARD_MODE_5
          Standard execution with level threshold equals to LogLevel.LEVEL_5.
STANDARD_MODE_OFF
          Standard execution turning off logging.
TRACKING_MODE
          Execution mode allowing variable and sequence value tracking.

 

Method Summary
 LogLevel levelThreshold()
          Obtains the level threshold defined by this ExecutionMode.
static ExecutionMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ExecutionMode[] 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

TRACKING_MODE

public static final ExecutionMode TRACKING_MODE
Execution mode allowing variable and sequence value tracking. LogLevel for this execution mode is forced to LogLevel.LEVEL_5.

STANDARD_MODE_0

public static final ExecutionMode STANDARD_MODE_0
Standard execution with level threshold equals to LogLevel.LEVEL_0.

STANDARD_MODE_1

public static final ExecutionMode STANDARD_MODE_1
Standard execution with level threshold equals to LogLevel.LEVEL_1.

STANDARD_MODE_2

public static final ExecutionMode STANDARD_MODE_2
Standard execution with level threshold equals to LogLevel.LEVEL_2.

STANDARD_MODE_3

public static final ExecutionMode STANDARD_MODE_3
Standard execution with level threshold equals to LogLevel.LEVEL_3.

STANDARD_MODE_4

public static final ExecutionMode STANDARD_MODE_4
Standard execution with level threshold equals to LogLevel.LEVEL_4.

STANDARD_MODE_5

public static final ExecutionMode STANDARD_MODE_5
Standard execution with level threshold equals to LogLevel.LEVEL_5.

STANDARD_MODE_OFF

public static final ExecutionMode STANDARD_MODE_OFF
Standard execution turning off logging. Level threshold is null in this case.

Method Detail

values

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

valueOf

public static ExecutionMode 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

levelThreshold

public LogLevel levelThreshold()
Obtains the level threshold defined by this ExecutionMode.
Returns:
a LogLevel (or null in case logging is turned off, c.f. STANDARD_MODE_OFF)

Skip navigation links

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

E17060-03


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