Package pro.taskana.common.api
Enum TaskanaEngine.ConnectionManagementMode
- java.lang.Object
-
- java.lang.Enum<TaskanaEngine.ConnectionManagementMode>
-
- pro.taskana.common.api.TaskanaEngine.ConnectionManagementMode
-
- All Implemented Interfaces:
Serializable,Comparable<TaskanaEngine.ConnectionManagementMode>
- Enclosing interface:
- TaskanaEngine
public static enum TaskanaEngine.ConnectionManagementMode extends Enum<TaskanaEngine.ConnectionManagementMode>
Connection management mode. Controls the connection handling of taskana- PARTICIPATE - taskana participates * in global transaction; this is the default mode *
- AUTOCOMMIT - taskana commits each * API call separately *
- EXPLICIT - commit processing is * managed explicitly by the client
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOCOMMITEXPLICITPARTICIPATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaskanaEngine.ConnectionManagementModevalueOf(String name)Returns the enum constant of this type with the specified name.static TaskanaEngine.ConnectionManagementMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARTICIPATE
public static final TaskanaEngine.ConnectionManagementMode PARTICIPATE
-
AUTOCOMMIT
public static final TaskanaEngine.ConnectionManagementMode AUTOCOMMIT
-
EXPLICIT
public static final TaskanaEngine.ConnectionManagementMode EXPLICIT
-
-
Method Detail
-
values
public static TaskanaEngine.ConnectionManagementMode[] 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 (TaskanaEngine.ConnectionManagementMode c : TaskanaEngine.ConnectionManagementMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskanaEngine.ConnectionManagementMode 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
-
-