public static enum DtxBranch.State extends Enum<DtxBranch.State>
Enum Constant and Description |
---|
ACTIVE |
FORGOTTEN |
HEUR_COM |
HEUR_RB |
PREPARED |
ROLLBACK_ONLY |
SUSPENDED |
TIMEDOUT |
Modifier and Type | Method and Description |
---|---|
static DtxBranch.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DtxBranch.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DtxBranch.State ACTIVE
public static final DtxBranch.State PREPARED
public static final DtxBranch.State TIMEDOUT
public static final DtxBranch.State SUSPENDED
public static final DtxBranch.State FORGOTTEN
public static final DtxBranch.State HEUR_COM
public static final DtxBranch.State HEUR_RB
public static final DtxBranch.State ROLLBACK_ONLY
public static DtxBranch.State[] values()
for (DtxBranch.State c : DtxBranch.State.values()) System.out.println(c);
public static DtxBranch.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.