public abstract class MondrianPropertiesBase extends TriggerableProperties
MondrianProperties
contains the properties which determine the
behavior of a mondrian instance.
There is a method for property valid in a
mondrian.properties
file. Although it is possible to retrieve
properties using the inherited Properties.getProperty(String)
method, we recommend that you use methods in this class.
mondrian.properties
file checked into
source control, with a description of the property and its default
value.Similarly if you update or delete a property.
Modifier and Type | Class and Description |
---|---|
(package private) static class |
MondrianPropertiesBase.FilePropertySource
Implementation of
MondrianPropertiesBase.PropertySource which reads from a
File . |
static interface |
MondrianPropertiesBase.PropertySource
Represents a place that properties can be read from, and remembers the
timestamp that we last read them.
|
(package private) static class |
MondrianPropertiesBase.UrlPropertySource
Implementation of
MondrianPropertiesBase.PropertySource which reads from a
URL . |
Modifier and Type | Field and Description |
---|---|
protected static String |
mondrianDotProperties |
properties, triggers
defaults
Modifier | Constructor and Description |
---|---|
protected |
MondrianPropertiesBase(MondrianPropertiesBase.PropertySource propertySource) |
Modifier and Type | Method and Description |
---|---|
void |
populate()
Loads this property set from: the file "$PWD/mondrian.properties" (if it
exists); the "mondrian.properties" in the CLASSPATH; and from the system
properties.
|
boolean |
triggersAreEnabled() |
getProperties, getPropertyDefinition, getPropertyList, register, setProperty
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNames
protected static final String mondrianDotProperties
protected MondrianPropertiesBase(MondrianPropertiesBase.PropertySource propertySource)
public boolean triggersAreEnabled()
triggersAreEnabled
in class TriggerableProperties
public void populate()