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.Rule
getRule()
-
-
-
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
BiConstraintStream
before regrouping, we expect this to return an array of A and B's fact type.Example 2: For
BiConstraintStream
after regrouping, we expect this to return an array consisting of onlyBiTuple
class.- Returns:
- never null
-
-