public final class Configuration extends Object
ConfigurationInterface and call
setConfiguration() with it.| Modifier and Type | Method and Description |
|---|---|
static Object |
get(String aName)
Get a named setting.
|
static ConfigurationInterface |
getConfiguration()
Get the current configuration implementation.
|
static Locale |
getLocale()
WebWork locale accessor
|
static String |
getString(String aName)
Get a named setting as a string.
|
static Iterator |
list()
List setting names
|
static void |
set(String aName,
Object aValue)
Set a named setting
|
static void |
setConfiguration(ConfigurationInterface aConfig)
Set the current configuration implementation.
|
public static Object get(String aName) throws IllegalArgumentException
IllegalArgumentExceptionpublic static String getString(String aName) throws IllegalArgumentException
IllegalArgumentExceptionpublic static void set(String aName, Object aValue) throws IllegalArgumentException, UnsupportedOperationException
public static Iterator list()
public static Locale getLocale()
public static ConfigurationInterface getConfiguration()
public static void setConfiguration(ConfigurationInterface aConfig) throws IllegalStateException
IllegalStateExceptionCopyright © 2013 Atlassian. All Rights Reserved.