org.optaplanner.core.impl.domain.variable.listener
Interface StatefulVariableListener<EntityG>
- All Superinterfaces:
- Supply, VariableListener<EntityG>
- All Known Implementing Classes:
- ExternalizedAnchorVariableSupply, ExternalizedSingletonInverseVariableSupply
public interface StatefulVariableListener<EntityG>
- extends VariableListener<EntityG>
A stateful VariableListener
,
often used to externalize data for a supply from the domain model itself.
getSourceVariableDescriptor
VariableDescriptor getSourceVariableDescriptor()
resetWorkingSolution
void resetWorkingSolution(ScoreDirector scoreDirector)
clearWorkingSolution
void clearWorkingSolution(ScoreDirector scoreDirector)
Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.