| java.lang.Object org.compass.core.config.CompassSettings org.compass.core.config.RuntimeCompassSettings
RuntimeCompassSettings | public class RuntimeCompassSettings extends CompassSettings (Code) | | Runtime settings for Compass applies on the Session level. Reading settings
is first perfomed against the runtime settings set, and then the global settings.
Writing settings will only apply on the runtime settings and not affect the
global settings.
author: kimchy |
Method Summary | |
public void | addSettings(Properties settings) | public void | addSettings(CompassSettings settings) | public CompassSettings | copy() | public Object | getRegistry(Object key) | public String | getSetting(String setting) | public String | getSetting(String setting, String defaultValue) | public boolean | getSettingAsBoolean(String setting, boolean defaultValue) | public Class | getSettingAsClass(String setting, Class clazz) | public Class | getSettingAsClass(String setting, Class clazz, ClassLoader classLoader) | public float | getSettingAsFloat(String setting, float defaultValue) | public int | getSettingAsInt(String setting, int defaultValue) | public long | getSettingAsLong(String setting, long defaultValue) | public Map<String, CompassSettings> | getSettingGroups(String settingPrefix) | public Object | removeRegistry(Object key) | public CompassSettings | setBooleanSetting(String setting, boolean value) | public CompassSettings | setClassSetting(String setting, Class clazz) | public CompassSettings | setFloatSetting(String setting, float value) | public CompassSettings | setGroupSettings(String settingPrefix, String groupName, String[] settings, String[] values) | public CompassSettings | setIntSetting(String setting, int value) | public CompassSettings | setLongSetting(String setting, long value) | public void | setRegistry(Object key, Object value) | public CompassSettings | setSetting(String setting, String value) | public String | toString() |
getSettingAsBoolean | public boolean getSettingAsBoolean(String setting, boolean defaultValue)(Code) | | |
getSettingAsFloat | public float getSettingAsFloat(String setting, float defaultValue)(Code) | | |
getSettingAsInt | public int getSettingAsInt(String setting, int defaultValue)(Code) | | |
getSettingAsLong | public long getSettingAsLong(String setting, long defaultValue)(Code) | | |
Methods inherited from org.compass.core.config.CompassSettings | public void addSettings(Properties settings)(Code)(Java Doc) public void addSettings(CompassSettings settings)(Code)(Java Doc) public CompassSettings clear()(Code)(Java Doc) public CompassSettings copy()(Code)(Java Doc) public ClassLoader getClassLoader()(Code)(Java Doc) public ClassLoader getDirectClassLoader()(Code)(Java Doc) public Properties getProperties()(Code)(Java Doc) public Object getRegistry(Object key)(Code)(Java Doc) public String getSetting(String setting)(Code)(Java Doc) public String getSetting(String setting, String defaultValue)(Code)(Java Doc) public boolean getSettingAsBoolean(String setting, boolean defaultValue)(Code)(Java Doc) public Class getSettingAsClass(String setting, Class clazz) throws ClassNotFoundException(Code)(Java Doc) public Class getSettingAsClass(String setting, Class clazz, ClassLoader classLoader) throws ClassNotFoundException(Code)(Java Doc) public double getSettingAsDouble(String setting, double defaultValue)(Code)(Java Doc) public float getSettingAsFloat(String setting, float defaultValue)(Code)(Java Doc) public int getSettingAsInt(String setting, int defaultValue)(Code)(Java Doc) public long getSettingAsLong(String setting, long defaultValue)(Code)(Java Doc) public Map<String, CompassSettings> getSettingGroups(String settingPrefix)(Code)(Java Doc) public Collection keySet()(Code)(Java Doc) public Object removeRegistry(Object key)(Code)(Java Doc) public CompassSettings setBooleanSetting(String setting, boolean value)(Code)(Java Doc) void setClassLoader(ClassLoader classLoader)(Code)(Java Doc) public CompassSettings setClassSetting(String setting, Class clazz)(Code)(Java Doc) public CompassSettings setDoubleSetting(String setting, double value)(Code)(Java Doc) public CompassSettings setFloatSetting(String setting, float value)(Code)(Java Doc) public CompassSettings setGroupSettings(String settingPrefix, String groupName, String[] settings, String[] values)(Code)(Java Doc) public CompassSettings setIntSetting(String setting, int value)(Code)(Java Doc) public CompassSettings setLongSetting(String setting, long value)(Code)(Java Doc) public void setRegistry(Object key, Object value)(Code)(Java Doc) public CompassSettings setSetting(String setting, String value)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|