org.drools.marshalling.impl
Class ProtobufInputMarshaller.PBActivationsFilter

java.lang.Object
  extended by org.drools.marshalling.impl.ProtobufInputMarshaller.PBActivationsFilter
All Implemented Interfaces:
ActivationsFilter
Enclosing class:
ProtobufInputMarshaller

public static class ProtobufInputMarshaller.PBActivationsFilter
extends Object
implements ActivationsFilter


Constructor Summary
ProtobufInputMarshaller.PBActivationsFilter()
           
 
Method Summary
 boolean accept(Activation activation, PropagationContext context, InternalWorkingMemory workingMemory, RuleTerminalNode rtn)
          Returns true if a new activation should be created for the given propagation or false otherwise
 Map<ProtobufInputMarshaller.ActivationKey,ProtobufMessages.Activation> getDormantActivationsMap()
           
 Map<ProtobufInputMarshaller.ActivationKey,LeftTuple> getTuplesCache()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtobufInputMarshaller.PBActivationsFilter

public ProtobufInputMarshaller.PBActivationsFilter()
Method Detail

getDormantActivationsMap

public Map<ProtobufInputMarshaller.ActivationKey,ProtobufMessages.Activation> getDormantActivationsMap()

accept

public boolean accept(Activation activation,
                      PropagationContext context,
                      InternalWorkingMemory workingMemory,
                      RuleTerminalNode rtn)
Description copied from interface: ActivationsFilter
Returns true if a new activation should be created for the given propagation or false otherwise

Specified by:
accept in interface ActivationsFilter
Returns:

getTuplesCache

public Map<ProtobufInputMarshaller.ActivationKey,LeftTuple> getTuplesCache()


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