public abstract class AbstractConstraintVerifier<Solution_,Assertion extends AbstractAssertion<Solution_,Assertion,Verifier>,Verifier extends AbstractConstraintVerifier<Solution_,Assertion,Verifier>> extends Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractConstraintVerifier(ConstraintStreamScoreDirectorFactory<Solution_> constraintStreamScoreDirectorFactory) |
Modifier and Type | Method and Description |
---|---|
protected abstract Assertion |
createAssertion(Score<?> score,
Map<String,ConstraintMatchTotal> constraintMatchTotalMap) |
protected Constraint |
getConstraint() |
Assertion |
given(Object... facts) |
Assertion |
given(Solution_ solution) |
protected AbstractConstraintVerifier(ConstraintStreamScoreDirectorFactory<Solution_> constraintStreamScoreDirectorFactory)
protected Constraint getConstraint()
protected abstract Assertion createAssertion(Score<?> score, Map<String,ConstraintMatchTotal> constraintMatchTotalMap)
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.