org.optaplanner.core.impl.domain.variable.anchor

## Interface AnchorVariableSupply

- All Superinterfaces:
    Supply
  All Known Implementing Classes:
    AnchorVariableListener, ExternalizedAnchorVariableSupply

      public interface AnchorVariableSupply
      extends Supply

  Only supported for chained variables.

  To get an instance, demand a `AnchorVariableDemand` from `InnerScoreDirector.getSupplyManager()`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `getAnchor(Object entity)`

- - ### Method Detail

    - #### getAnchor

          Object getAnchor(Object entity)

      Parameters:
        `entity` - never null
      Returns:
        sometimes null, the anchor for the entity

Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.