Skip navigation links
oracle.wcps.conductor.scenario.syntax
Enum ITransactionStatement.TransactionBehavior
java.lang.Object
java.lang.Enum<ITransactionStatement.TransactionBehavior>
oracle.wcps.conductor.scenario.syntax.ITransactionStatement.TransactionBehavior
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ITransactionStatement.TransactionBehavior>
- Enclosing interface:
- ITransactionStatement
-
public static enum ITransactionStatement.TransactionBehavior
- extends java.lang.Enum<ITransactionStatement.TransactionBehavior>
Definition for transaction behavior.
- SUPPORTS - Default value. This scenario does not require a transaction and none will be created within the context of execution.
- NOT_SUPPORTED - This scenario does not support transactions and an exception will be thrown if execution is within transactional boundaries.
- REQUIRED - A transaction must exist within in the context of execution of this scenario. If one does not exist, one will be created and started.
- REQUIRES_NEW - The execution of this scenario must run within the context of a new transaction. If an outer transaction exists and has been started, it must be paused and a new transaction will be created and started.
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 |
SUPPORTS
public static final ITransactionStatement.TransactionBehavior SUPPORTS
NOT_SUPPORTED
public static final ITransactionStatement.TransactionBehavior NOT_SUPPORTED
REQUIRED
public static final ITransactionStatement.TransactionBehavior REQUIRED
REQUIRES_NEW
public static final ITransactionStatement.TransactionBehavior REQUIRES_NEW
values
public static ITransactionStatement.TransactionBehavior[] 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 (ITransactionStatement.TransactionBehavior c : ITransactionStatement.TransactionBehavior.values())
System.out.println(c);
-
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static ITransactionStatement.TransactionBehavior 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
Copyright © 2009, 2014, Oracle and/or its affiliates. All rights reserved.