org.kie.api.runtime.rule

## Interface Match

-     public interface Match

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<String>` | `getDeclarationIds()`
    `Object` | `getDeclarationValue(String declarationId)`
    `List<? extends FactHandle>` | `getFactHandles()`
    `List<Object>` | `getObjects()`
    `Rule` | `getRule()`

- - ### Method Detail

    - #### getRule

          Rule getRule()

      Returns:
        rule that was activated.

    - #### getFactHandles

          List<? extends FactHandle> getFactHandles()

      Returns:
        matched FactHandles for this Match

    - #### getObjects

          List<Object> getObjects()

      Returns:
        the list of objects that make the tuple that created this Match. The objects are in the proper tuple order.

    - #### getDeclarationIds

          List<String> getDeclarationIds()

      Returns:
        the list of declaration identifiers that are bound to the tuple that created this Match.

    - #### getDeclarationValue

          Object getDeclarationValue(String declarationId)

      Parameters:
        `declarationId` -
      Returns:
        the bound declaration value for the given declaration identifier.

Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.