public enum BranchType extends Enum<BranchType>
| Enum Constant and Description |
|---|
AT
The At.
|
SAGA
The SAGA.
|
TCC
The TCC.
|
XA
The XA.
|
| Modifier and Type | Method and Description |
|---|---|
static BranchType |
get(byte ordinal)
Get branch type.
|
static BranchType |
get(int ordinal)
Get branch type.
|
static BranchType |
get(String name)
Get branch type.
|
static BranchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BranchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BranchType AT
public static final BranchType TCC
public static final BranchType SAGA
public static final BranchType XA
public static BranchType[] values()
for (BranchType c : BranchType.values()) System.out.println(c);
public static BranchType 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 nullpublic static BranchType get(byte ordinal)
ordinal - the ordinalpublic static BranchType get(int ordinal)
ordinal - the ordinalpublic static BranchType get(String name)
name - the nameCopyright © 2023 Seata. All rights reserved.