OptaPlanner distribution 6.2.1-SNAPSHOT

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.


Method Summary
 void clearWorkingSolution(ScoreDirector scoreDirector)
           
 VariableDescriptor getSourceVariableDescriptor()
           
 void resetWorkingSolution(ScoreDirector scoreDirector)
           
 
Methods inherited from interface org.optaplanner.core.impl.domain.variable.listener.VariableListener
afterEntityAdded, afterEntityRemoved, afterVariableChanged, beforeEntityAdded, beforeEntityRemoved, beforeVariableChanged
 

Method Detail

getSourceVariableDescriptor

VariableDescriptor getSourceVariableDescriptor()

resetWorkingSolution

void resetWorkingSolution(ScoreDirector scoreDirector)

clearWorkingSolution

void clearWorkingSolution(ScoreDirector scoreDirector)

OptaPlanner distribution 6.2.1-SNAPSHOT

Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.