Drools :: Core 6.0.0.Beta5

org.drools.core.marshalling.impl
Class ProtobufInputMarshaller.PBActivationsFilter

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

public static class ProtobufInputMarshaller.PBActivationsFilter
extends Object
implements ActivationsFilter, AgendaFilter


Constructor Summary
ProtobufInputMarshaller.PBActivationsFilter()
           
 
Method Summary
 boolean accept(Activation match)
          Determine if a given activation should be fired.
 boolean accept(Activation activation, InternalWorkingMemory workingMemory, TerminalNode rtn)
          Returns true if a new activation should be created for the given propagation or false otherwise
 void fireRNEAs(InternalWorkingMemory wm)
           
 Map<ProtobufInputMarshaller.ActivationKey,ProtobufMessages.Activation> getDormantActivationsMap()
           
 Map<ProtobufInputMarshaller.ActivationKey,ProtobufMessages.Activation> getRneActivations()
           
 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,
                      InternalWorkingMemory workingMemory,
                      TerminalNode 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()

getRneActivations

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

fireRNEAs

public void fireRNEAs(InternalWorkingMemory wm)

accept

public boolean accept(Activation match)
Description copied from interface: AgendaFilter
Determine if a given activation should be fired.

Specified by:
accept in interface AgendaFilter
Parameters:
match - The activation to fire.
Returns:
true if the activation should be fired; otherwise false

Drools :: Core 6.0.0.Beta5

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