Package org.drools.core.rule
Class SlidingLengthWindow.SlidingLengthWindowContext
java.lang.Object
org.drools.core.rule.SlidingLengthWindow.SlidingLengthWindowContext
- All Implemented Interfaces:
Externalizable,Serializable,BehaviorContext
- Enclosing class:
- SlidingLengthWindow
public static class SlidingLengthWindow.SlidingLengthWindowContext
extends Object
implements BehaviorContext, Externalizable
A Context object for length windows
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDo not use this constructor! It should be used just by deserialization.SlidingLengthWindowContext(int size) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drools.core.rule.BehaviorContext
getJobHandle, setJobHandle
-
Field Details
-
handles
-
pos
public int pos
-
-
Constructor Details
-
SlidingLengthWindowContext
public SlidingLengthWindowContext(int size) -
SlidingLengthWindowContext
public SlidingLengthWindowContext()Do not use this constructor! It should be used just by deserialization.
-
-
Method Details
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
getFactHandles
- Specified by:
getFactHandlesin interfaceBehaviorContext
-