java.lang.Object
com.flexstor.common.settings.datasource.RuntimeDataSource
- All Implemented Interfaces:
- com.flexstor.common.settings.SettingsSourceI
- public class RuntimeDataSource
- extends java.lang.Object
- implements com.flexstor.common.settings.SettingsSourceI
Settings datasource for Runtime Settings
- Version:
- 3.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
settings
private java.util.Hashtable settings
RuntimeDataSource
public RuntimeDataSource()
addSetting
public void addSetting(java.lang.String sKey,
java.lang.Object obj)
- Description copied from interface:
com.flexstor.common.settings.SettingsSourceI
- Adds a setting to the datasource
- Specified by:
addSetting in interface com.flexstor.common.settings.SettingsSourceI
deleteSetting
public void deleteSetting(java.lang.String sKey)
- Description copied from interface:
com.flexstor.common.settings.SettingsSourceI
- Deletes a setting from the datasource
- Specified by:
deleteSetting in interface com.flexstor.common.settings.SettingsSourceI
getSetting
public java.lang.Object getSetting(java.lang.String sKey)
- Description copied from interface:
com.flexstor.common.settings.SettingsSourceI
- Retrieves a setting from the datasource
- Specified by:
getSetting in interface com.flexstor.common.settings.SettingsSourceI
canAddDataType
public boolean canAddDataType(int nDataType)
- Description copied from interface:
com.flexstor.common.settings.SettingsSourceI
- Return true if a setting with the specified data type can be added.
- Specified by:
canAddDataType in interface com.flexstor.common.settings.SettingsSourceI
canGetDataType
public boolean canGetDataType(int nDataType)
- Description copied from interface:
com.flexstor.common.settings.SettingsSourceI
- Return true if a setting with the specified data type can be retrieved.
- Specified by:
canGetDataType in interface com.flexstor.common.settings.SettingsSourceI
canDeleteSetting
public boolean canDeleteSetting()
- Description copied from interface:
com.flexstor.common.settings.SettingsSourceI
- Return true if a setting can be deleted,
- Specified by:
canDeleteSetting in interface com.flexstor.common.settings.SettingsSourceI