Enum UpdateManager.TransactionProperties
- java.lang.Object
-
- java.lang.Enum<UpdateManager.TransactionProperties>
-
- de.aristaflow.adept2.core.updatemanager.UpdateManager.TransactionProperties
-
- All Implemented Interfaces:
Serializable
,Comparable<UpdateManager.TransactionProperties>
- Enclosing interface:
- UpdateManager
public static enum UpdateManager.TransactionProperties extends Enum<UpdateManager.TransactionProperties>
Enum for transaction events- Author:
- MartinJurisch
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TRANSACTION_ENDED
signals that a transaction endedTRANSACTION_LABEL
The event contains a label for the transaction.TRANSACTION_STARTED
signals that a transaction started
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UpdateManager.TransactionProperties
valueOf(String name)
Returns the enum constant of this type with the specified name.static UpdateManager.TransactionProperties[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRANSACTION_STARTED
public static final UpdateManager.TransactionProperties TRANSACTION_STARTED
signals that a transaction started
-
TRANSACTION_LABEL
public static final UpdateManager.TransactionProperties TRANSACTION_LABEL
The event contains a label for the transaction.
-
TRANSACTION_ENDED
public static final UpdateManager.TransactionProperties TRANSACTION_ENDED
signals that a transaction ended
-
-
Method Detail
-
values
public static UpdateManager.TransactionProperties[] 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 (UpdateManager.TransactionProperties c : UpdateManager.TransactionProperties.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateManager.TransactionProperties 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
-
-