Package org.teiid.translator
Enum ExecutionFactory.TransactionSupport
- java.lang.Object
-
- java.lang.Enum<ExecutionFactory.TransactionSupport>
-
- org.teiid.translator.ExecutionFactory.TransactionSupport
-
- All Implemented Interfaces:
Serializable
,Comparable<ExecutionFactory.TransactionSupport>
- Enclosing class:
- ExecutionFactory<F,C>
public static enum ExecutionFactory.TransactionSupport extends Enum<ExecutionFactory.TransactionSupport>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecutionFactory.TransactionSupport
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExecutionFactory.TransactionSupport[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
XA
public static final ExecutionFactory.TransactionSupport XA
-
LOCAL
public static final ExecutionFactory.TransactionSupport LOCAL
-
NONE
public static final ExecutionFactory.TransactionSupport NONE
-
-
Method Detail
-
values
public static ExecutionFactory.TransactionSupport[] 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 (ExecutionFactory.TransactionSupport c : ExecutionFactory.TransactionSupport.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecutionFactory.TransactionSupport valueOf(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 nameNullPointerException
- if the argument is null
-
-