Package com.iizix.txp
Enum Class ITXPPolicy.Action
- All Implemented Interfaces:
Serializable
,Comparable<ITXPPolicy.Action>
,Constable
- Enclosing interface:
ITXPPolicy
Generic policy action that should be interpreted by the coordinator in a certain context.
- Author:
- Freggle
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Enum Constant Summary
Enum ConstantDescriptioncontinue (but note the problem!)disassociate the nodeignoreroll back the remaining nodesset the process state to ROLLBACKset the process state to TIMED_OUTMethod Summary
Modifier and TypeMethodDescriptionint
getValue()
static ITXPPolicy.Action
Returns the enum constant of this class with the specified name.static ITXPPolicy.Action[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
SET_ROLLBACK
set the process state to ROLLBACKDISASSOCIATE_NODE
disassociate the nodeROLLBACK_REST
roll back the remaining nodesCONTINUE
continue (but note the problem!)SET_TIMED_OUT
set the process state to TIMED_OUTIGNORE
ignore
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
getValue
public int getValue()