Package mondrian.olap

Class MondrianPropertiesBase

  • All Implemented Interfaces:
    Serializable, Cloneable, Map<Object,​Object>
    Direct Known Subclasses:
    MondrianProperties

    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.

    Note to developers

    If you add a property, you must:
    • Add a property definition to MondrianProperties.xml.
    • Re-generate MondrianProperties.java using PropertyUtil.
    • Modify the default mondrian.properties file checked into source control, with a description of the property and its default value.
    • Modify the Configuration Specification.

    Similarly if you update or delete a property.

    Since:
    22 December, 2002
    Author:
    jhyde
    See Also:
    Serialized Form
    • Method Detail

      • triggersAreEnabled

        public boolean triggersAreEnabled()
        Overrides:
        triggersAreEnabled in class org.eigenbase.util.property.TriggerableProperties
      • populate

        public 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.