public final class DefaultConstraintVerifier<ConstraintProvider_ extends ConstraintProvider,Solution_> extends Object implements ConstraintVerifier<ConstraintProvider_,Solution_>
Constructor and Description |
---|
DefaultConstraintVerifier(ConstraintProvider_ constraintProvider,
SolutionDescriptor<Solution_> solutionDescriptor) |
Modifier and Type | Method and Description |
---|---|
protected SolutionDescriptor<Solution_> |
getSolutionDescriptor() |
DefaultMultiConstraintVerification<Solution_> |
verifyThat()
Creates a constraint verifier for all constraints of the
ConstraintProvider . |
DefaultSingleConstraintVerification<Solution_> |
verifyThat(BiFunction<ConstraintProvider_,ConstraintFactory,Constraint> constraintFunction)
Creates a constraint verifier for a given
Constraint of the ConstraintProvider . |
ConstraintVerifier<ConstraintProvider_,Solution_> |
withConstraintStreamImplType(ConstraintStreamImplType constraintStreamImplType)
All subsequent calls to
ConstraintVerifier.verifyThat(BiFunction) and ConstraintVerifier.verifyThat()
will use the given ConstraintStreamImplType . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
public DefaultConstraintVerifier(ConstraintProvider_ constraintProvider, SolutionDescriptor<Solution_> solutionDescriptor)
protected SolutionDescriptor<Solution_> getSolutionDescriptor()
public ConstraintVerifier<ConstraintProvider_,Solution_> withConstraintStreamImplType(ConstraintStreamImplType constraintStreamImplType)
ConstraintVerifier
ConstraintVerifier.verifyThat(BiFunction)
and ConstraintVerifier.verifyThat()
will use the given ConstraintStreamImplType
.withConstraintStreamImplType
in interface ConstraintVerifier<ConstraintProvider_ extends ConstraintProvider,Solution_>
constraintStreamImplType
- never nullpublic DefaultSingleConstraintVerification<Solution_> verifyThat(BiFunction<ConstraintProvider_,ConstraintFactory,Constraint> constraintFunction)
ConstraintVerifier
Constraint
of the ConstraintProvider
.verifyThat
in interface ConstraintVerifier<ConstraintProvider_ extends ConstraintProvider,Solution_>
constraintFunction
- never nullpublic DefaultMultiConstraintVerification<Solution_> verifyThat()
ConstraintVerifier
ConstraintProvider
.verifyThat
in interface ConstraintVerifier<ConstraintProvider_ extends ConstraintProvider,Solution_>
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.