public abstract static class GoalConfigChangeNotifier.GoalConfigChangeListener extends Object
Constructor and Description |
---|
GoalConfigChangeListener(String name) |
Modifier and Type | Method and Description |
---|---|
String |
name() |
abstract void |
onChange(GoalsConfig rebalancingGoals,
GoalsConfig triggeringGoals)
The method that gets called whenever the goals configuration changes.
|
public GoalConfigChangeListener(String name)
name
- the name (an identifier) of this listenerpublic abstract void onChange(GoalsConfig rebalancingGoals, GoalsConfig triggeringGoals)
rebalancingGoals
- - the config of the new set of rebalancing goalstriggeringGoals
- - the config of the new set of triggering goalspublic String name()