VariableListener
can now be stateful too.@Deprecated public interface StatefulVariableListener<Entity_> extends VariableListener<Entity_>
VariableListener
,
often used to externalize data for a Supply
from the domain model itself.Modifier and Type | Method and Description |
---|---|
default void |
clearWorkingSolution(ScoreDirector scoreDirector)
Deprecated.
Implement
VariableListener.close() instead. |
VariableDescriptor |
getSourceVariableDescriptor()
Deprecated.
|
void |
resetWorkingSolution(ScoreDirector scoreDirector)
Deprecated.
|
afterEntityAdded, afterEntityRemoved, afterVariableChanged, beforeEntityAdded, beforeEntityRemoved, beforeVariableChanged, requiresUniqueEntityEvents
close
VariableDescriptor getSourceVariableDescriptor()
@Deprecated void resetWorkingSolution(ScoreDirector scoreDirector)
VariableListener.resetWorkingSolution(ScoreDirector)
.VariableListener
resetWorkingSolution
in interface VariableListener<Entity_>
scoreDirector
- @Deprecated default void clearWorkingSolution(ScoreDirector scoreDirector)
VariableListener.close()
instead.scoreDirector
- Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.