public enum ConfigurationStrategyName extends Enum<ConfigurationStrategyName>
web.xml instead of the fully qualified class name.| Enum Constant and Description |
|---|
DEFAULT |
JNDI |
PROPERTY_FILE |
SYSTEM_PROPERTIES |
WEB_XML |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends ConfigurationStrategy> |
resolveToConfigurationStrategy(String value)
Static helper method that will resolve a simple string to either an enum value or a
ConfigurationStrategy class. |
static ConfigurationStrategyName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationStrategyName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationStrategyName DEFAULT
public static final ConfigurationStrategyName JNDI
public static final ConfigurationStrategyName WEB_XML
public static final ConfigurationStrategyName PROPERTY_FILE
public static final ConfigurationStrategyName SYSTEM_PROPERTIES
public static ConfigurationStrategyName[] values()
for (ConfigurationStrategyName c : ConfigurationStrategyName.values()) System.out.println(c);
public static ConfigurationStrategyName 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 static Class<? extends ConfigurationStrategy> resolveToConfigurationStrategy(String value)
ConfigurationStrategy class.value - the value to attempt to resolve.Copyright © 2006–2021 Jasig. All rights reserved.