Enum Class ConfigFileName
- All Implemented Interfaces:
Serializable
,Comparable<ConfigFileName>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptiongrouper.cache.propertiesgrouper.client.propertiesgrouper-loader.propertiesgrouper.propertiesgrouper.text.en.us.propertiesgrouper.text.fr.fr.propertiesgrouper-ui.propertiesgrouper-ws.propertiessubject.properties -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigItemMetadata
abstract ConfigPropertiesCascadeBase
get a recent instance of the configorder the config gets loaded the lower the number the first it is readboolean
true for everything but text configsstatic void
static ConfigFileName
Returns the enum constant of this class with the specified name.static ConfigFileName
valueOfIgnoreCase
(String string, boolean exceptionOnNull) do a case-insensitive matchingstatic ConfigFileName[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GROUPER_CACHE_PROPERTIES
grouper.cache.properties -
GROUPER_CLIENT_PROPERTIES
grouper.client.properties -
GROUPER_LOADER_PROPERTIES
grouper-loader.properties -
GROUPER_PROPERTIES
grouper.properties -
GROUPER_UI_PROPERTIES
grouper-ui.properties -
GROUPER_WS_PROPERTIES
grouper-ws.properties -
SUBJECT_PROPERTIES
subject.properties -
GROUPER_TEXT_EN_US_PROPERTIES
grouper.text.en.us.properties -
GROUPER_TEXT_FR_FR_PROPERTIES
grouper.text.fr.fr.properties
-
-
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
-
main
- Parameters:
args
-
-
findConfigItemMetdata
- Parameters:
key
-- Returns:
- config item metadata related to this key
-
findConfigItemMetdataFromConfig
- Parameters:
key
-- Returns:
- config item metadata related to this key
-
fileContents
- Returns:
- the contents or null if not on classpath
-
isUseBaseForConfigFileMetadata
public boolean isUseBaseForConfigFileMetadata()true for everything but text configs- Returns:
- if use base
-
configFileMetadata
- Returns:
- config file metadata
-
getClasspath
- Returns:
- the classpath
-
getConfigFileName
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
-
getConfig
get a recent instance of the config- Returns:
- a recent instance
-