Class RuleAssembly
- java.lang.Object
-
- org.optaplanner.core.impl.score.stream.drools.common.rules.RuleAssembly
-
public final class RuleAssembly extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class[]getExpectedJustificationTypes()Determines the types we expect to see as the result ofgetRule().org.drools.model.RulegetRule()
-
-
-
Method Detail
-
getRule
public org.drools.model.Rule getRule()
-
getExpectedJustificationTypes
public Class[] getExpectedJustificationTypes()
Determines the types we expect to see as the result ofgetRule().Example 1: For a
BiConstraintStreambefore regrouping, we expect this to return an array of A and B's fact type.Example 2: For
BiConstraintStreamafter regrouping, we expect this to return an array consisting of onlyBiTupleclass.- Returns:
- never null
-
-