## Uses of Interface
org.optaplanner.core.api.domain.variable.VariableListener

- Packages that use VariableListener
  Package | Description
  --- | ---
  org.optaplanner.core.api.domain.variable | Domain annotations and support classes for a planning variable.
  org.optaplanner.core.impl.domain.variable.anchor |
  org.optaplanner.core.impl.domain.variable.custom |
  org.optaplanner.core.impl.domain.variable.descriptor |
  org.optaplanner.core.impl.domain.variable.inverserelation |
  org.optaplanner.core.impl.domain.variable.listener |
  org.optaplanner.core.impl.domain.variable.listener.support |

- - ### Uses of VariableListener in org.optaplanner.core.api.domain.variable

    Subinterfaces of VariableListener in org.optaplanner.core.api.domain.variable
    Modifier and Type | Interface | Description
    --- | --- | ---
    `static interface` | `CustomShadowVariable.NullVariableListener` | Workaround for annotation limitation in `CustomShadowVariable.variableListenerClass()`.

    Methods in org.optaplanner.core.api.domain.variable that return types with arguments of type VariableListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `Class<? extends VariableListener>` | `variableListenerClass()` | A `VariableListener` gets notified after a source planning variable has changed.

  - ### Uses of VariableListener in org.optaplanner.core.impl.domain.variable.anchor

    Classes in org.optaplanner.core.impl.domain.variable.anchor that implement VariableListener
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AnchorVariableListener<Solution_>` |
    `class` | `ExternalizedAnchorVariableSupply` | Alternative to `AnchorVariableListener`.

  - ### Uses of VariableListener in org.optaplanner.core.impl.domain.variable.custom

    Fields in org.optaplanner.core.impl.domain.variable.custom with type parameters of type VariableListener
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected Class<? extends VariableListener>` | CustomShadowVariableDescriptor.`variableListenerClass` |

    Methods in org.optaplanner.core.impl.domain.variable.custom that return VariableListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `VariableListener<?>` | CustomShadowVariableDescriptor.`buildVariableListener​(InnerScoreDirector<Solution_> scoreDirector)` |

    Methods in org.optaplanner.core.impl.domain.variable.custom that return types with arguments of type VariableListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `Class<? extends VariableListener>` | CustomShadowVariableDescriptor.`getVariableListenerClass()` |

  - ### Uses of VariableListener in org.optaplanner.core.impl.domain.variable.descriptor

    Methods in org.optaplanner.core.impl.domain.variable.descriptor that return VariableListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract VariableListener<?>` | ShadowVariableDescriptor.`buildVariableListener​(InnerScoreDirector<Solution_> scoreDirector)` |

    Methods in org.optaplanner.core.impl.domain.variable.descriptor that return types with arguments of type VariableListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract Class<? extends VariableListener>` | ShadowVariableDescriptor.`getVariableListenerClass()` |

  - ### Uses of VariableListener in org.optaplanner.core.impl.domain.variable.inverserelation

    Classes in org.optaplanner.core.impl.domain.variable.inverserelation that implement VariableListener
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `CollectionInverseVariableListener` |
    `class` | `ExternalizedCollectionInverseVariableSupply` | Alternative to `CollectionInverseVariableListener`.
    `class` | `ExternalizedSingletonInverseVariableSupply` | Alternative to `SingletonInverseVariableListener`.
    `class` | `SingletonInverseVariableListener` |

  - ### Uses of VariableListener in org.optaplanner.core.impl.domain.variable.listener

    Subinterfaces of VariableListener in org.optaplanner.core.impl.domain.variable.listener
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `SourcedVariableListener<Entity_>` | Often used to externalize data for a `Supply` from the domain model itself.
    `interface` | `StatefulVariableListener<Entity_>` | Deprecated. `VariableListener` can now be stateful too.
    `interface` | `VariableListener<Entity_>` | Deprecated. in favor of `VariableListener`

    Classes in org.optaplanner.core.impl.domain.variable.listener that implement VariableListener
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `VariableListenerAdapter<Entity_>` | Deprecated.

  - ### Uses of VariableListener in org.optaplanner.core.impl.domain.variable.listener.support

    Fields in org.optaplanner.core.impl.domain.variable.listener.support declared as VariableListener
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected VariableListener` | VariableListenerNotifiable.`variableListener` |

    Methods in org.optaplanner.core.impl.domain.variable.listener.support that return VariableListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `VariableListener` | VariableListenerNotifiable.`getVariableListener()` |

    Constructors in org.optaplanner.core.impl.domain.variable.listener.support with parameters of type VariableListener
    Constructor | Description
    --- | ---
    `VariableListenerNotifiable​(VariableListener variableListener, int globalOrder)` |