Package org.kie.api.runtime.rule

# Interface Match

public interface Match

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<String>`
  `getDeclarationIds()`
  `Object`
  `getDeclarationValue(String declarationId)`
  `List<? extends FactHandle>`
  `getFactHandles()`
  `List<Object>`
  `getObjects()`
  `Rule`
  `getRule()`
  `int`
  `getSalience()`

- ## Method Details

  - ### 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.

  - ### getSalience

    int getSalience()