org.drools.common
Class PropagationContextImpl

java.lang.Object
  extended byorg.drools.common.PropagationContextImpl
All Implemented Interfaces:
PropagationContext, java.io.Serializable

public class PropagationContextImpl
extends java.lang.Object
implements PropagationContext

See Also:
Serialized Form
 

Field Summary
 
Fields inherited from interface org.drools.spi.PropagationContext
ASSERTION, MODIFICATION, RETRACTION, RULE_ADDITION, RULE_REMOVAL
 
Constructor Summary
PropagationContextImpl(long number, int type, Rule rule, Activation activation)
           
 
Method Summary
 Activation getActivationOrigin()
           
 long getPropagationNumber()
           
 Rule getRuleOrigin()
           
 int getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropagationContextImpl

public PropagationContextImpl(long number,
                              int type,
                              Rule rule,
                              Activation activation)
Method Detail

getPropagationNumber

public long getPropagationNumber()
Specified by:
getPropagationNumber in interface PropagationContext

getRuleOrigin

public Rule getRuleOrigin()
Specified by:
getRuleOrigin in interface PropagationContext

getActivationOrigin

public Activation getActivationOrigin()
Specified by:
getActivationOrigin in interface PropagationContext

getType

public int getType()
Specified by:
getType in interface PropagationContext