Package org.kie.api.runtime.rule
Interface FactHandle
-
- All Known Subinterfaces:
EventHandle
public interface FactHandle
An handle to a fact inserted into the working memory
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FactHandle.State
The way how the fact to which this FactHandle was assigned has been inserted into the working memory
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <K> K
as(java.lang.Class<K> klass)
long
getId()
java.lang.Object
getObject()
long
getRecency()
boolean
isEvent()
boolean
isNegated()
boolean
isValid()
java.lang.String
toExternalForm()
-
-
-
Method Detail
-
getObject
java.lang.Object getObject()
-
isNegated
boolean isNegated()
-
isEvent
boolean isEvent()
-
getId
long getId()
-
getRecency
long getRecency()
-
as
<K> K as(java.lang.Class<K> klass) throws java.lang.ClassCastException
- Throws:
java.lang.ClassCastException
-
isValid
boolean isValid()
-
toExternalForm
java.lang.String toExternalForm()
-
-