public interface Layer1ApiInstrumentSpecificEnabledStateProvider
| Modifier and Type | Method and Description |
|---|---|
boolean |
isStrategyEnabled(java.lang.String alias) |
void |
onStrategyCheckboxEnabled(java.lang.String alias,
boolean isEnabled)
Checkbox for this strategy for this alias was set enabled/disabled
|
default void |
setStrategyEnabledRecheckCallback(java.lang.String alias,
java.lang.Runnable recheckCallback)
Set callback that allows strategy to notify that value returned by
isStrategyEnabled(String) has changed. |
void onStrategyCheckboxEnabled(java.lang.String alias,
boolean isEnabled)
alias - alias of instrumentisEnabled - true if checkbox was selected, false otherwiseboolean isStrategyEnabled(java.lang.String alias)
alias - alias of instrumentdefault void setStrategyEnabledRecheckCallback(java.lang.String alias,
java.lang.Runnable recheckCallback)
isStrategyEnabled(String) has changed. You don't need to implement
it unless your strategy can change enabled state without being asked from
outside.alias - alias of the instrument which callback relates torecheckCallback - runnable to call if enabled state has changed