org.drools.event.rule.impl
Class SerializablePropagationContext

java.lang.Object
  extended by org.drools.event.rule.impl.SerializablePropagationContext
All Implemented Interfaces:
Externalizable, Serializable, org.drools.runtime.rule.PropagationContext

public class SerializablePropagationContext
extends Object
implements org.drools.runtime.rule.PropagationContext, Externalizable

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.drools.runtime.rule.PropagationContext
ASSERTION, EXPIRATION, MODIFICATION, RETRACTION, RULE_ADDITION, RULE_REMOVAL, typeDescr
 
Constructor Summary
SerializablePropagationContext()
           
SerializablePropagationContext(org.drools.runtime.rule.PropagationContext propagationContext)
           
 
Method Summary
 org.drools.runtime.rule.FactHandle getFactHandle()
           
 long getPropagationNumber()
           
 org.drools.definition.rule.Rule getRule()
           
 int getType()
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SerializablePropagationContext

public SerializablePropagationContext()

SerializablePropagationContext

public SerializablePropagationContext(org.drools.runtime.rule.PropagationContext propagationContext)
Method Detail

writeExternal

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

readExternal

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

getFactHandle

public org.drools.runtime.rule.FactHandle getFactHandle()
Specified by:
getFactHandle in interface org.drools.runtime.rule.PropagationContext

getPropagationNumber

public long getPropagationNumber()
Specified by:
getPropagationNumber in interface org.drools.runtime.rule.PropagationContext

getRule

public org.drools.definition.rule.Rule getRule()
Specified by:
getRule in interface org.drools.runtime.rule.PropagationContext

getType

public int getType()
Specified by:
getType in interface org.drools.runtime.rule.PropagationContext

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.