public class PropertyManager extends Object
refresh() method.| 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 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 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 © 2015 eXo Platform SAS. All Rights Reserved.