KIE API 6.1.0.Beta2

org.kie.api.runtime.rule
Interface Match


public interface Match


Method Summary
 List<String> getDeclarationIds()
          Returns the list of declaration identifiers that are bound to the tuple that created this Match.
 Object getDeclarationValue(String declarationId)
          Returns the bound declaration value for the given declaration identifier.
 List<? extends FactHandle> getFactHandles()
           
 List<Object> getObjects()
          Returns the list of objects that make the tuple that created this Match.
 Rule getRule()
           
 

Method Detail

getRule

Rule getRule()
Returns:
The Rule that was activated.

getFactHandles

List<? extends FactHandle> getFactHandles()
Returns:
The 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.

Returns:

getDeclarationIds

List<String> getDeclarationIds()
Returns the list of declaration identifiers that are bound to the tuple that created this Match.

Returns:

getDeclarationValue

Object getDeclarationValue(String declarationId)
Returns the bound declaration value for the given declaration identifier.

Parameters:
declarationId -
Returns:

KIE API 6.1.0.Beta2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.