org.drools.reteoo
Class PartitionTaskManager.LeftTupleAction

java.lang.Object
  extended by org.drools.reteoo.PartitionTaskManager.LeftTupleAction
All Implemented Interfaces:
Externalizable, Serializable, Comparable<PartitionTaskManager.Action>, PartitionTaskManager.Action
Direct Known Subclasses:
PartitionTaskManager.LeftTupleAssertAction, PartitionTaskManager.LeftTupleRetractAction
Enclosing class:
PartitionTaskManager

public abstract static class PartitionTaskManager.LeftTupleAction
extends Object
implements PartitionTaskManager.Action, Externalizable

An abstract super class for all leftTuple-related actions

See Also:
Serialized Form

Field Summary
protected  PropagationContext context
           
protected  LeftTuple leftTuple
           
protected  int priority
           
protected  LeftTupleSink sink
           
 
Fields inherited from interface org.drools.reteoo.PartitionTaskManager.Action
PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_NORMAL
 
Constructor Summary
PartitionTaskManager.LeftTupleAction()
           
PartitionTaskManager.LeftTupleAction(LeftTuple leftTuple, PropagationContext context, LeftTupleSink sink, int priority)
           
 
Method Summary
 int compareTo(PartitionTaskManager.Action o)
           
abstract  void execute(InternalWorkingMemory workingMemory)
           
 int getPriority()
           
 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
 

Field Detail

leftTuple

protected LeftTuple leftTuple

context

protected PropagationContext context

sink

protected LeftTupleSink sink

priority

protected int priority
Constructor Detail

PartitionTaskManager.LeftTupleAction

public PartitionTaskManager.LeftTupleAction()

PartitionTaskManager.LeftTupleAction

public PartitionTaskManager.LeftTupleAction(LeftTuple leftTuple,
                                            PropagationContext context,
                                            LeftTupleSink sink,
                                            int priority)
Method Detail

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

getPriority

public int getPriority()
Specified by:
getPriority in interface PartitionTaskManager.Action

compareTo

public int compareTo(PartitionTaskManager.Action o)
Specified by:
compareTo in interface Comparable<PartitionTaskManager.Action>

execute

public abstract void execute(InternalWorkingMemory workingMemory)
Specified by:
execute in interface PartitionTaskManager.Action


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