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

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

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

    public class VariableListenerSupport

extends Object

Constructor Summary
`VariableListenerSupport(Map<GenuineVariableDescriptor,List<VariableListener>> variableListenerMap)`

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

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

Constructor Detail

### VariableListenerSupport

    public VariableListenerSupport(Map<GenuineVariableDescriptor,List<VariableListener>> variableListenerMap)

Method Detail

### beforeEntityAdded

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

### afterEntityAdded

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

### beforeVariableChanged

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

### afterVariableChanged

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

### beforeEntityRemoved

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

### afterEntityRemoved

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

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

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