Package org.drools.core.rule
Class SlidingLengthWindow.SlidingLengthWindowContext
- java.lang.Object
-
- org.drools.core.rule.SlidingLengthWindow.SlidingLengthWindowContext
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Behavior.Context
- Enclosing class:
- SlidingLengthWindow
public static class SlidingLengthWindow.SlidingLengthWindowContext extends Object implements Behavior.Context, Externalizable
A Context object for length windows- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description EventFactHandle[]
handles
int
pos
-
Constructor Summary
Constructors Constructor Description SlidingLengthWindowContext()
Do not use this constructor!SlidingLengthWindowContext(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<EventFactHandle>
getFactHandles()
void
readExternal(ObjectInput in)
void
writeExternal(ObjectOutput out)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.core.rule.Behavior.Context
getJobHandle, setJobHandle
-
-
-
-
Field Detail
-
handles
public EventFactHandle[] handles
-
pos
public int pos
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
getFactHandles
public Collection<EventFactHandle> getFactHandles()
- Specified by:
getFactHandles
in interfaceBehavior.Context
-
-