Skip navigation links

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

E17060-03


oracle.odi.domain.runtime.loadplan
Enum OdiLoadPlan.SessionLogsBehavior

java.lang.Object
  extended by java.lang.Enum<OdiLoadPlan.SessionLogsBehavior>
      extended by oracle.odi.domain.runtime.loadplan.OdiLoadPlan.SessionLogsBehavior

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OdiLoadPlan.SessionLogsBehavior>
Enclosing class:
OdiLoadPlan

public static enum OdiLoadPlan.SessionLogsBehavior
extends java.lang.Enum<OdiLoadPlan.SessionLogsBehavior>

Indicates how logs will be maintained by default for the session of each of the scenarios started by the Load Plan.

Values are:

Always Keep: Always keep logs
Never Keep: Never Keep logs / Always remove logs
Keep Errors: Keep Errors / Remove logs when it is successful

Note: this enumeration is used for both session level logging and session step level logging.

See Also:
#OdiLoadPlan.setSessionLogsDefaultBehaviorForScenarios(SessionLogsBehavior), #OdiLoadPlan.getSessionLogsDefaultBehaviorForScenarios(SessionLogsBehavior)

Enum Constant Summary
ALWAYS
          Always Keep: Always keep logs
ERROR
          Remove on success only: Remove logs when it is successful, keep errors only
NEVER
          Always Remove: Always remove logs, Never keep Logs

 

Method Summary
static OdiLoadPlan.SessionLogsBehavior valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OdiLoadPlan.SessionLogsBehavior[] 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

ALWAYS

public static final OdiLoadPlan.SessionLogsBehavior ALWAYS
Always Keep: Always keep logs

NEVER

public static final OdiLoadPlan.SessionLogsBehavior NEVER
Always Remove: Always remove logs, Never keep Logs

ERROR

public static final OdiLoadPlan.SessionLogsBehavior ERROR
Remove on success only: Remove logs when it is successful, keep errors only

Method Detail

values

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

valueOf

public static OdiLoadPlan.SessionLogsBehavior 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.6.0)

E17060-03


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