org.drools.rule
Class SlidingTimeWindow.BehaviorJobContext

java.lang.Object
  extended by org.drools.rule.SlidingTimeWindow.BehaviorJobContext
All Implemented Interfaces:
Externalizable, Serializable, JobContext
Enclosing class:
SlidingTimeWindow

public static class SlidingTimeWindow.BehaviorJobContext
extends Object
implements JobContext, Externalizable

See Also:
Serialized Form

Field Summary
 Behavior behavior
           
 Object behaviorContext
           
 JobHandle handle
           
 InternalWorkingMemory workingMemory
           
 
Constructor Summary
SlidingTimeWindow.BehaviorJobContext(InternalWorkingMemory workingMemory, Behavior behavior, Object behaviorContext)
           
 
Method Summary
 JobHandle getJobHandle()
           
 void readExternal(ObjectInput in)
           
 void setJobHandle(JobHandle jobHandle)
          This method should only be called by the scheduler
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

workingMemory

public InternalWorkingMemory workingMemory

behavior

public Behavior behavior

behaviorContext

public Object behaviorContext

handle

public JobHandle handle
Constructor Detail

SlidingTimeWindow.BehaviorJobContext

public SlidingTimeWindow.BehaviorJobContext(InternalWorkingMemory workingMemory,
                                            Behavior behavior,
                                            Object behaviorContext)
Parameters:
workingMemory -
behavior -
behaviorContext -
Method Detail

getJobHandle

public JobHandle getJobHandle()
Specified by:
getJobHandle in interface JobContext

setJobHandle

public void setJobHandle(JobHandle jobHandle)
Description copied from interface: JobContext
This method should only be called by the scheduler

Specified by:
setJobHandle in interface JobContext

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException


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