org.drools.planner.api.domain.variable.event
Interface PlanningVariableListener
- All Superinterfaces:
- EventListener
public interface PlanningVariableListener
- extends EventListener
afterChange
void afterChange(SolutionDirector solutionDirector,
Object planningEntity,
String variableName,
Object oldValue,
Object newValue)
- Called after a variable value has been changed.
Called from the solver thread.
Should return fast, as it steals time from the Solver.
- Parameters:
solutionDirector - never nullplanningEntity - never nullvariableName - never nulloldValue - sometimes nullnewValue - sometimes null
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.