public enum ConfigType extends Enum<ConfigType>
| Enum Constant and Description |
|---|
Apollo
Apollo config type.
|
Consul
Consul config type
|
Custom
Custom config type
|
Etcd3
Etcd3 config type
|
File
File config type.
|
Nacos
Nacos config type.
|
SpringCloudConfig
spring cloud config type
|
ZK
zookeeper config type.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfigType |
getType(String name)
Gets type.
|
static ConfigType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigType File
public static final ConfigType ZK
public static final ConfigType Nacos
public static final ConfigType Apollo
public static final ConfigType Consul
public static final ConfigType Etcd3
public static final ConfigType SpringCloudConfig
public static final ConfigType Custom
public static ConfigType[] values()
for (ConfigType c : ConfigType.values()) System.out.println(c);
public static ConfigType 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 ConfigType getType(String name)
name - the nameCopyright © 2023 Seata. All rights reserved.