Enum Class ConfigFileHierarchy
java.lang.Object
java.lang.Enum<ConfigFileHierarchy>
edu.internet2.middleware.grouper.cfg.dbConfig.ConfigFileHierarchy
- All Implemented Interfaces:
Serializable
,Comparable<ConfigFileHierarchy>
,Constable
Note, this class is not used
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionthe base config that ships with grouperconfig for the environment at your institution, dev, test, prod whateverif configs differ between UI, WS, etc put that herethe config at your institution that spans across all envs -
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
order the config gets loaded the lower the number the first it is readstatic ConfigFileHierarchy
Returns the enum constant of this class with the specified name.static ConfigFileHierarchy
valueOfIgnoreCase
(String string, boolean exceptionOnNull) do a case-insensitive matchingstatic ConfigFileHierarchy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BASE
the base config that ships with grouper -
INSTITUTION
the config at your institution that spans across all envs -
ENVIRONMENT
config for the environment at your institution, dev, test, prod whatever -
GROUPER_ENGINE
if configs differ between UI, WS, etc put that here
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getOrder
public int getOrder()order the config gets loaded the lower the number the first it is read- Returns:
- the order
-
valueOfIgnoreCase
do a case-insensitive matching- Parameters:
string
-exceptionOnNull
- will not allow null or blank entries- Returns:
- the enum or null or exception if not found
-