Interface SettingsAccess
public interface SettingsAccess
Interface that can be used to save or get settings from config
-
Method Summary
Modifier and TypeMethodDescriptiongetSettings(String alias, String fullName, Class<?> settingsClass) voidsetSettings(String alias, String fullName, Object settings, Class<?> settingsClass)
-
Method Details
-
getSettings
- Parameters:
alias- instrument alias settings are for or null, if settings are globalfullName- strategy full namesettingsClass- class of your settings object- Returns:
- settings object. If there was no compatible saved object for this request, new object will be created with default constructor
Changing returned object will not change settings. You need to callsetSettings(String, String, Object, Class)for this
-
setSettings
- Parameters:
alias- instrument alias settings are for, null if settings are globalfullName- strategy full namesettings- settings object you want to savesettingsClass- class of your settings object
-