Package org.optaplanner.core.impl.domain.variable.listener

## Interface SourcedVariableListener<Solution_,​Entity_>

- All Superinterfaces:
    `AutoCloseable`, `Closeable`, `Supply`, `VariableListener<Solution_,​Entity_>`
  All Known Implementing Classes:
    `ExternalizedAnchorVariableSupply`, `ExternalizedCollectionInverseVariableSupply`, `ExternalizedSingletonInverseVariableSupply`

      public interface SourcedVariableListener<Solution_,​Entity_>
      extends VariableListener<Solution_,​Entity_>, Supply

  Used to externalize data for a `Supply` from the domain model itself.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `VariableDescriptor<Solution_>` | `getSourceVariableDescriptor()` |

    - ### Methods inherited from interface org.optaplanner.core.api.domain.variable.VariableListener

      `afterEntityAdded, afterEntityRemoved, afterVariableChanged, beforeEntityAdded, beforeEntityRemoved, beforeVariableChanged, close, requiresUniqueEntityEvents, resetWorkingSolution`

- - ### Method Detail

    - #### getSourceVariableDescriptor

          VariableDescriptor<Solution_> getSourceVariableDescriptor()