Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.0.0.Beta4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.optaplanner.core.impl.domain.variable.listener
Class PlanningVariableListenerSupport

    java.lang.Object
      org.optaplanner.core.impl.domain.variable.listener.PlanningVariableListenerSupport

    public class PlanningVariableListenerSupport

extends Object

Constructor Summary
`PlanningVariableListenerSupport(Map<PlanningVariableDescriptor,List<PlanningVariableListener>> variableListenerMap)`

Method Summary
`void` | `afterEntityAdded(ScoreDirector scoreDirector, PlanningEntityDescriptor entityDescriptor, Object entity)`
`void` | `afterEntityRemoved(ScoreDirector scoreDirector, PlanningEntityDescriptor entityDescriptor, Object entity)`
`void` | `afterVariableChanged(ScoreDirector scoreDirector, PlanningVariableDescriptor variableDescriptor, Object entity)`
`void` | `beforeEntityAdded(ScoreDirector scoreDirector, PlanningEntityDescriptor entityDescriptor, Object entity)`
`void` | `beforeEntityRemoved(ScoreDirector scoreDirector, PlanningEntityDescriptor entityDescriptor, Object entity)`
`void` | `beforeVariableChanged(ScoreDirector scoreDirector, PlanningVariableDescriptor variableDescriptor, Object entity)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PlanningVariableListenerSupport

    public PlanningVariableListenerSupport(Map<PlanningVariableDescriptor,List<PlanningVariableListener>> variableListenerMap)

Method Detail

### beforeEntityAdded

    public void beforeEntityAdded(ScoreDirector scoreDirector,
                                  PlanningEntityDescriptor entityDescriptor,
                                  Object entity)

### afterEntityAdded

    public void afterEntityAdded(ScoreDirector scoreDirector,
                                 PlanningEntityDescriptor entityDescriptor,
                                 Object entity)

### beforeVariableChanged

    public void beforeVariableChanged(ScoreDirector scoreDirector,
                                      PlanningVariableDescriptor variableDescriptor,
                                      Object entity)

### afterVariableChanged

    public void afterVariableChanged(ScoreDirector scoreDirector,
                                     PlanningVariableDescriptor variableDescriptor,
                                     Object entity)

### beforeEntityRemoved

    public void beforeEntityRemoved(ScoreDirector scoreDirector,
                                    PlanningEntityDescriptor entityDescriptor,
                                    Object entity)

### afterEntityRemoved

    public void afterEntityRemoved(ScoreDirector scoreDirector,
                                   PlanningEntityDescriptor entityDescriptor,
                                   Object entity)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.0.0.Beta4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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