org.jbpm.simulation.impl
Class WorkingMemorySimulationRepository

java.lang.Object
  extended by org.jbpm.simulation.impl.InMemorySimulationRepository
      extended by org.jbpm.simulation.impl.WorkingMemorySimulationRepository
All Implemented Interfaces:
SimulationRepository

public class WorkingMemorySimulationRepository
extends InMemorySimulationRepository


Field Summary
 
Fields inherited from class org.jbpm.simulation.impl.InMemorySimulationRepository
events
 
Constructor Summary
WorkingMemorySimulationRepository()
           
WorkingMemorySimulationRepository(boolean fireRulesOnStore, org.drools.io.Resource... rules)
           
WorkingMemorySimulationRepository(boolean fireRulesOnStore, String... rules)
           
WorkingMemorySimulationRepository(org.drools.io.Resource... rules)
           
WorkingMemorySimulationRepository(String... rules)
           
 
Method Summary
 void close()
           
 void fireAllRules()
           
 List<AggregatedSimulationEvent> getAggregatedEvents()
           
 org.drools.runtime.StatefulKnowledgeSession getSession()
           
 void storeEvent(SimulationEvent event)
           
 
Methods inherited from class org.jbpm.simulation.impl.InMemorySimulationRepository
getEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkingMemorySimulationRepository

public WorkingMemorySimulationRepository()

WorkingMemorySimulationRepository

public WorkingMemorySimulationRepository(String... rules)

WorkingMemorySimulationRepository

public WorkingMemorySimulationRepository(org.drools.io.Resource... rules)

WorkingMemorySimulationRepository

public WorkingMemorySimulationRepository(boolean fireRulesOnStore,
                                         org.drools.io.Resource... rules)

WorkingMemorySimulationRepository

public WorkingMemorySimulationRepository(boolean fireRulesOnStore,
                                         String... rules)
Method Detail

storeEvent

public void storeEvent(SimulationEvent event)
Specified by:
storeEvent in interface SimulationRepository
Overrides:
storeEvent in class InMemorySimulationRepository

fireAllRules

public void fireAllRules()

getSession

public org.drools.runtime.StatefulKnowledgeSession getSession()

getAggregatedEvents

public List<AggregatedSimulationEvent> getAggregatedEvents()

close

public void close()
Overrides:
close in class InMemorySimulationRepository


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