Package org.optaplanner.core.impl.score.stream.drools.common.rules

## 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 of `getRule()`.
    `org.drools.model.Rule` | `getRule()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getRule

          public org.drools.model.Rule getRule()

    - #### getExpectedJustificationTypes

          public Class[] getExpectedJustificationTypes()

      Determines the types we expect to see as the result of `getRule()`.

      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 only `BiTuple` class.

      Returns:
        never null