|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.core.SystemProperty
MagnoliaConfigurationProperties
public final class SystemProperty
A global holder for system-wide configuration properties.
PropertiesInitializer
Field Summary | |
---|---|
static String |
MAGNOLIA_APP_ROOTDIR
Deprecated. |
static String |
MAGNOLIA_BOOTSTRAP_ROOTDIR
Deprecated. |
static String |
MAGNOLIA_BOOTSTRAP_SAMPLES
Deprecated. |
static String |
MAGNOLIA_CACHE_STARTDIR
Deprecated. |
static String |
MAGNOLIA_CONTEXTPATH
Deprecated. |
static String |
MAGNOLIA_EXCHANGE_HISTORY
Deprecated. |
static String |
MAGNOLIA_REPOSITORIES_CONFIG
Deprecated. |
static String |
MAGNOLIA_REPOSITORIES_HOME
Deprecated. |
static String |
MAGNOLIA_SERVERNAME
Deprecated. |
static String |
MAGNOLIA_UPLOAD_TMPDIR
Deprecated. |
static String |
MAGNOLIA_UTF8_ENABLED
Deprecated. |
static String |
MAGNOLIA_WEBAPP
Deprecated. |
Method Summary | |
---|---|
static void |
clear()
Deprecated. |
static boolean |
getBooleanProperty(String name)
Deprecated. since 4.5, use MagnoliaConfigurationProperties |
static Properties |
getProperties()
Deprecated. since 4.5 - while this still "works" and returns an aggregate of the local properties and those provided by MagnoliaConfigurationProperties, writing to this Property object will not be reflected anywhere. |
static String |
getProperty(String name)
Deprecated. since 4.5, use MagnoliaConfigurationProperties |
static String |
getProperty(String name,
String defaultValue)
Deprecated. since 4.5, use MagnoliaConfigurationProperties |
static Map |
getPropertyList()
Deprecated. since 3.0 - use getProperties() instead |
static boolean |
hasProperty(String name)
Deprecated. since 4.5, use MagnoliaConfigurationProperties |
static void |
setMagnoliaConfigurationProperties(MagnoliaConfigurationProperties magnoliaConfigurationProperties)
Deprecated. since 4.5 - this is only here to allow tests to work until their tested classes are all converted. |
static void |
setProperty(String name,
String value)
Deprecated. since 4.5, use MagnoliaConfigurationProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String MAGNOLIA_REPOSITORIES_HOME
public static final String MAGNOLIA_REPOSITORIES_CONFIG
public static final String MAGNOLIA_EXCHANGE_HISTORY
public static final String MAGNOLIA_UPLOAD_TMPDIR
public static final String MAGNOLIA_CACHE_STARTDIR
public static final String MAGNOLIA_APP_ROOTDIR
public static final String MAGNOLIA_BOOTSTRAP_ROOTDIR
public static final String MAGNOLIA_BOOTSTRAP_SAMPLES
public static final String MAGNOLIA_UTF8_ENABLED
public static final String MAGNOLIA_WEBAPP
public static final String MAGNOLIA_SERVERNAME
public static final String MAGNOLIA_CONTEXTPATH
Method Detail |
---|
public static void setProperty(String name, String value)
MagnoliaConfigurationProperties
public static String getProperty(String name)
MagnoliaConfigurationProperties
public static boolean getBooleanProperty(String name)
MagnoliaConfigurationProperties
false
if the property is not set.
name
- property name
true
public static String getProperty(String name, String defaultValue)
MagnoliaConfigurationProperties
public static boolean hasProperty(String name)
MagnoliaConfigurationProperties
public static Map getPropertyList()
public static Properties getProperties()
public static void setMagnoliaConfigurationProperties(MagnoliaConfigurationProperties magnoliaConfigurationProperties)
public static void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |