## Uses of Interface
org.optaplanner.core.api.score.stream.ConstraintFactory

- Packages that use ConstraintFactory
  Package | Description
  --- | ---
  org.optaplanner.core.api.score.stream | The `ConstraintStream` API: a way to define constraints for `Score` calculation.
  org.optaplanner.core.impl.score.stream |
  org.optaplanner.core.impl.score.stream.bavet |
  org.optaplanner.core.impl.score.stream.drools |
  org.optaplanner.test.api.score.stream |
  org.optaplanner.test.impl.score.stream |

- - ### Uses of ConstraintFactory in org.optaplanner.core.api.score.stream

    Methods in org.optaplanner.core.api.score.stream that return ConstraintFactory
    Modifier and Type | Method | Description
    --- | --- | ---
    `ConstraintFactory` | Constraint.`getConstraintFactory()` | The `ConstraintFactory` that build this.
    `ConstraintFactory` | ConstraintStream.`getConstraintFactory()` | The `ConstraintFactory` that build this.

    Methods in org.optaplanner.core.api.score.stream with parameters of type ConstraintFactory
    Modifier and Type | Method | Description
    --- | --- | ---
    `Constraint[]` | ConstraintProvider.`defineConstraints​(ConstraintFactory constraintFactory)` | This method is called once to create the constraints.

  - ### Uses of ConstraintFactory in org.optaplanner.core.impl.score.stream

    Subinterfaces of ConstraintFactory in org.optaplanner.core.impl.score.stream
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `InnerConstraintFactory<Solution_>` |

  - ### Uses of ConstraintFactory in org.optaplanner.core.impl.score.stream.bavet

    Classes in org.optaplanner.core.impl.score.stream.bavet that implement ConstraintFactory
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `BavetConstraintFactory<Solution_>` |

  - ### Uses of ConstraintFactory in org.optaplanner.core.impl.score.stream.drools

    Classes in org.optaplanner.core.impl.score.stream.drools that implement ConstraintFactory
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `DroolsConstraintFactory<Solution_>` |

  - ### Uses of ConstraintFactory in org.optaplanner.test.api.score.stream

    Method parameters in org.optaplanner.test.api.score.stream with type arguments of type ConstraintFactory
    Modifier and Type | Method | Description
    --- | --- | ---
    `SingleConstraintVerification<Solution_>` | ConstraintVerifier.`verifyThat​(BiFunction<ConstraintProvider_,​ConstraintFactory,​Constraint> constraintFunction)` | Creates a constraint verifier for a given `Constraint` of the `ConstraintProvider`.

  - ### Uses of ConstraintFactory in org.optaplanner.test.impl.score.stream

    Method parameters in org.optaplanner.test.impl.score.stream with type arguments of type ConstraintFactory
    Modifier and Type | Method | Description
    --- | --- | ---
    `DefaultSingleConstraintVerification<Solution_>` | DefaultConstraintVerifier.`verifyThat​(BiFunction<ConstraintProvider_,​ConstraintFactory,​Constraint> constraintFunction)` |