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

## Interface QuadConstraintConsequence

- All Superinterfaces:
    `ConstraintConsequence<QuadConstraintGraphNode>`

      public interface QuadConstraintConsequence
      extends ConstraintConsequence<QuadConstraintGraphNode>

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ConsequenceMatchWeightType` | `getMatchWeightType()` | The numeric type of the match weight that score will be impacted with.

    - ### Methods inherited from interface org.optaplanner.core.impl.score.stream.drools.common.consequences.ConstraintConsequence

      `getTerminalNode`

- - ### Method Detail

    - #### getMatchWeightType

          ConsequenceMatchWeightType getMatchWeightType()

      The numeric type of the match weight that score will be impacted with. See Javadoc for extending interfaces for more.
      Specified by:
        `getMatchWeightType` in interface `ConstraintConsequence<QuadConstraintGraphNode>`
      Returns:
        Never null. When this method returns `ConsequenceMatchWeightType.INTEGER`, implementations of this interface are guaranteed to implement `ToIntQuadFunction`. When this method returns `ConsequenceMatchWeightType.LONG`, implementations of this interface are guaranteed to implement `ToLongQuadFunction`. When this method returns `ConsequenceMatchWeightType.BIG_DECIMAL`, implementations of this interface are guaranteed to implement `QuadFunction` to `BigDecimal`.