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 SummaryEnum ConstantsEnum ConstantDescriptioncontinue (but note the problem!)disassociate the nodeignoreroll back the remaining nodesset the process state to ROLLBACKset the process state to TIMED_OUT
- Method SummaryModifier and TypeMethodDescription- int- getValue()- static ITXPPolicy.ActionReturns 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_ROLLBACKset the process state to ROLLBACK
- DISASSOCIATE_NODEdisassociate the node
- ROLLBACK_RESTroll back the remaining nodes
- CONTINUEcontinue (but note the problem!)
- SET_TIMED_OUTset the process state to TIMED_OUT
- IGNOREignore
 
- Method Details- valuesReturns 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
 
- valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- getValuepublic int getValue()