public enum ConfigSourceType extends Enum<ConfigSourceType>
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
static ConfigSourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigSourceType REMOTE
public static final ConfigSourceType LOCAL
public static final ConfigSourceType NONE
public static ConfigSourceType[] values()
for (ConfigSourceType c : ConfigSourceType.values()) System.out.println(c);
public static ConfigSourceType 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 String getDescription()
Copyright © 2022 Ctrip, Inc.. All rights reserved.