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

- Packages that use ConstraintProvider
  Package | Description
  --- | ---
  org.optaplanner.core.config.score.director |
  org.optaplanner.core.config.solver |
  org.optaplanner.core.impl.score.director.stream |
  org.optaplanner.test.api.score.stream |
  org.optaplanner.test.impl.score.stream |

- - ### Uses of ConstraintProvider in org.optaplanner.core.config.score.director

    Fields in org.optaplanner.core.config.score.director with type parameters of type ConstraintProvider
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected Class<? extends ConstraintProvider>` | ScoreDirectorFactoryConfig.`constraintProviderClass` |

    Methods in org.optaplanner.core.config.score.director that return types with arguments of type ConstraintProvider
    Modifier and Type | Method | Description
    --- | --- | ---
    `Class<? extends ConstraintProvider>` | ScoreDirectorFactoryConfig.`getConstraintProviderClass()` |

    Method parameters in org.optaplanner.core.config.score.director with type arguments of type ConstraintProvider
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ScoreDirectorFactoryConfig.`setConstraintProviderClass​(Class<? extends ConstraintProvider> constraintProviderClass)` |
    `ScoreDirectorFactoryConfig` | ScoreDirectorFactoryConfig.`withConstraintProviderClass​(Class<? extends ConstraintProvider> constraintProviderClass)` |

  - ### Uses of ConstraintProvider in org.optaplanner.core.config.solver

    Method parameters in org.optaplanner.core.config.solver with type arguments of type ConstraintProvider
    Modifier and Type | Method | Description
    --- | --- | ---
    `SolverConfig` | SolverConfig.`withConstraintProviderClass​(Class<? extends ConstraintProvider> constraintProviderClass)` | As defined by `ScoreDirectorFactoryConfig.withConstraintProviderClass(Class)`, but returns this.

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

    Methods in org.optaplanner.core.impl.score.director.stream with parameters of type ConstraintProvider
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Constraint[]` | AbstractConstraintStreamScoreDirectorFactory.`buildConstraints​(ConstraintProvider constraintProvider, InnerConstraintFactory<Solution_> constraintFactory)` |

    Constructors in org.optaplanner.core.impl.score.director.stream with parameters of type ConstraintProvider
    Constructor | Description
    --- | ---
    `BavetConstraintStreamScoreDirectorFactory​(SolutionDescriptor<Solution_> solutionDescriptor, ConstraintProvider constraintProvider)` |
    `DroolsConstraintStreamScoreDirectorFactory​(SolutionDescriptor<Solution_> solutionDescriptor, ConstraintProvider constraintProvider, boolean droolsAlphaNetworkCompilationEnabled)` |

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

    Classes in org.optaplanner.test.api.score.stream with type parameters of type ConstraintProvider
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `ConstraintVerifier<ConstraintProvider_ extends ConstraintProvider,​Solution_>` |

    Methods in org.optaplanner.test.api.score.stream with type parameters of type ConstraintProvider
    Modifier and Type | Method | Description
    --- | --- | ---
    `static <ConstraintProvider_ extends ConstraintProvider,​Solution_> ConstraintVerifier<ConstraintProvider_,​Solution_>` | ConstraintVerifier.`build​(ConstraintProvider_ constraintProvider, Class<Solution_> planningSolutionClass, Class<?>... entityClasses)` | Entry point to the API.

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

    Classes in org.optaplanner.test.impl.score.stream with type parameters of type ConstraintProvider
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `DefaultConstraintVerifier<ConstraintProvider_ extends ConstraintProvider,​Solution_,​Score_ extends Score<Score_>>` |

    Constructors in org.optaplanner.test.impl.score.stream with parameters of type ConstraintProvider
    Constructor | Description
    --- | ---
    `DefaultMultiConstraintAssertion​(ConstraintProvider constraintProvider, Score_ actualScore, Map<String,​ConstraintMatchTotal<Score_>> constraintMatchTotalMap, Map<Object,​Indictment<Score_>> indictmentMap)` |
    `DefaultMultiConstraintVerification​(AbstractConstraintStreamScoreDirectorFactory<Solution_,​Score_> scoreDirectorFactory, ConstraintProvider constraintProvider)` |