public abstract class MondrianPropertiesBase
extends org.eigenbase.util.property.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 |
|---|---|
static interface |
MondrianPropertiesBase.PropertySource
Represents a place that properties can be read from, and remembers the
timestamp that we last read them.
|
| Modifier and Type | Field and Description |
|---|---|
protected static String |
mondrianDotProperties |
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, setPropertygetProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNamesclear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, valuesprotected static final String mondrianDotProperties
protected MondrianPropertiesBase(MondrianPropertiesBase.PropertySource propertySource)
public boolean triggersAreEnabled()
triggersAreEnabled in class org.eigenbase.util.property.TriggerablePropertiespublic void populate()
Copyright © 2021 Hitachi Vantara. All rights reserved.