public enum ConfigMode extends Enum<ConfigMode>
AbstractConfigManager.uniqueConfigTypes| Enum Constant and Description |
|---|
IGNORE
Ignore mode: accept first config, ignore later configs
|
OVERRIDE
Override mode: accept last config, override previous config
|
STRICT
Strict mode: accept only one config for unique config type, throw exceptions if found more than one configs for an unique config type.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfigMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigMode STRICT
public static final ConfigMode OVERRIDE
public static final ConfigMode IGNORE
public static ConfigMode[] values()
for (ConfigMode c : ConfigMode.values()) System.out.println(c);
public static ConfigMode 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 nullCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.