public enum ProcessType extends Enum<ProcessType>
| Enum Constant and Description |
|---|
STATE_LANG
SEATA State Language
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
get code
|
static ProcessType |
getEnumByCode(String code)
get enum by code
|
String |
getMessage()
get message
|
static ProcessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessType STATE_LANG
public static ProcessType[] values()
for (ProcessType c : ProcessType.values()) System.out.println(c);
public static ProcessType 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 ProcessType getEnumByCode(String code)
code - the type codepublic String getCode()
public String getMessage()
Copyright © 2023 Seata. All rights reserved.