org.optaplanner.core.impl.score.stream

## Interface ConstraintSessionFactory<Solution_>

- All Known Implementing Classes:
    BavetConstraintSessionFactory, DroolsConstraintSessionFactory

      public interface ConstraintSessionFactory<Solution_>

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ConstraintSession<Solution_>` | `buildSession(boolean constraintMatchEnabled, Solution_ workingSolution)` This method is thread-safe.

- - ### Method Detail

    - #### buildSession

          ConstraintSession<Solution_> buildSession(boolean constraintMatchEnabled,
                                                    Solution_ workingSolution)

      This method is thread-safe.
      Parameters:
        `constraintMatchEnabled` - true if `ScoreDirector.isConstraintMatchEnabled()` should be true
        `workingSolution` - never null
      Returns:
        never null

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