public enum ConfigFileHierarchy extends Enum<ConfigFileHierarchy>
Enum Constant and Description |
---|
BASE
the base config that ships with grouper
|
ENVIRONMENT
config for the environment at your institution, dev, test, prod whatever
|
GROUPER_ENGINE
if configs differ between UI, WS, etc put that here
|
INSTITUTION
the config at your institution that spans across all envs
|
Modifier and Type | Method and Description |
---|---|
int |
getOrder()
order the config gets loaded
the lower the number the first it is read
|
static ConfigFileHierarchy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigFileHierarchy |
valueOfIgnoreCase(String string,
boolean exceptionOnNull)
do a case-insensitive matching
|
static ConfigFileHierarchy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigFileHierarchy BASE
public static final ConfigFileHierarchy INSTITUTION
public static final ConfigFileHierarchy ENVIRONMENT
public static final ConfigFileHierarchy GROUPER_ENGINE
public static ConfigFileHierarchy[] values()
for (ConfigFileHierarchy c : ConfigFileHierarchy.values()) System.out.println(c);
public static ConfigFileHierarchy 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 int getOrder()
public static ConfigFileHierarchy valueOfIgnoreCase(String string, boolean exceptionOnNull)
string
- exceptionOnNull
- will not allow null or blank entriesCopyright © 2016 Internet2. All rights reserved.