public class PropertyManager extends Object
refresh() method.
TODO add security privileged blocks used when eXo is executed under a security manager| Modifier and Type | Field and Description |
|---|---|
static String |
DEVELOPING
.
|
static String |
PROPERTIES_URL
.
|
static String |
RUNTIME_PROFILES
.
|
| Constructor and Description |
|---|
PropertyManager() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
getProperties()
Returns all system properties.
|
static Properties |
getPropertiesByPattern(String propertyPattern)
Returns the system properties from the provided property name pattern.
|
static String |
getProperty(String propertyName)
Returns a property from the provided property name.
|
static boolean |
getUseCache()
Returns true if the cache is enabled.
|
static boolean |
isDevelopping()
Returns true if the product developing mode is enabled.
|
static void |
refresh()
Refresh the property manager.
|
static void |
setProperty(String propertyName,
String propertyValue)
Update a property in the system properties and in the cache.
|
public static final String DEVELOPING
public static final String RUNTIME_PROFILES
public static final String PROPERTIES_URL
public static String getProperty(String propertyName)
propertyName - the property namepublic static Properties getPropertiesByPattern(String propertyPattern)
propertyPattern - the property name patternpublic static Properties getProperties()
public static boolean isDevelopping()
public static void setProperty(String propertyName, String propertyValue)
propertyName - the property namepropertyValue - the property valuepublic static boolean getUseCache()
public static void refresh()
Copyright © 2021 eXo Platform SAS. All Rights Reserved.