Package org.kie.api.runtime.rule
Interface Match
-
public interface Match
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>
getDeclarationIds()
java.lang.Object
getDeclarationValue(java.lang.String declarationId)
java.util.List<? extends FactHandle>
getFactHandles()
java.util.List<java.lang.Object>
getObjects()
Rule
getRule()
int
getSalience()
-
-
-
Method Detail
-
getRule
Rule getRule()
- Returns:
- rule that was activated.
-
getFactHandles
java.util.List<? extends FactHandle> getFactHandles()
- Returns:
- matched FactHandles for this Match
-
getObjects
java.util.List<java.lang.Object> getObjects()
- Returns:
- the list of objects that make the tuple that created this Match. The objects are in the proper tuple order.
-
getDeclarationIds
java.util.List<java.lang.String> getDeclarationIds()
- Returns:
- the list of declaration identifiers that are bound to the tuple that created this Match.
-
getDeclarationValue
java.lang.Object getDeclarationValue(java.lang.String declarationId)
- Parameters:
declarationId
-- Returns:
- the bound declaration value for the given declaration identifier.
-
getSalience
int getSalience()
-
-