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

## org.optaplanner.core.impl.domain.variable.supply
Interface SupplyManager

All Known Implementing Classes:
  VariableListenerSupport

    public interface SupplyManager

Provides a `Supply` for subsystems that submit a `Demand`.

Method Summary
`
`<S extends Supply> S`
` | `demand(Demand<S> demand)` Returns the `Supply` for a `Demand`, preferably an existing one.

Method Detail

### demand

    <S extends Supply> S demand(Demand<S> demand)

  Returns the `Supply` for a `Demand`, preferably an existing one. If the `Supply` doesn't exist yet (as part of the domain model or externalized), it creates and attaches it.

  Type Parameters:
    `S` -
  Parameters:
    `demand` - never null
  Returns:
    never null

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

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