public enum ConfigDataType extends Enum<ConfigDataType>
| Enum Constant and Description |
|---|
properties
data type properties
|
yaml
data type yaml
|
| Modifier and Type | Method and Description |
|---|---|
static ConfigDataType |
getType(String name)
Gets type.
|
static ConfigDataType |
getTypeBySuffix(String suffix)
Gets type by suffix.
|
static ConfigDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigDataType yaml
public static final ConfigDataType properties
public static ConfigDataType[] values()
for (ConfigDataType c : ConfigDataType.values()) System.out.println(c);
public static ConfigDataType 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 ConfigDataType getType(String name)
name - the namepublic static ConfigDataType getTypeBySuffix(String suffix)
suffix - the suffixCopyright © 2023 Seata. All rights reserved.