jBPM Simulation 6.0.0.Beta4

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, simulationInfo
 
Constructor Summary
WorkingMemorySimulationRepository()
           
WorkingMemorySimulationRepository(boolean fireRulesOnStore, org.kie.api.io.Resource... rules)
           
WorkingMemorySimulationRepository(boolean fireRulesOnStore, String... rules)
           
WorkingMemorySimulationRepository(org.kie.api.io.Resource... rules)
           
WorkingMemorySimulationRepository(String... rules)
           
 
Method Summary
 void close()
           
 void fireAllRules()
           
 List<AggregatedSimulationEvent> getAggregatedEvents()
           
 Object getGlobal(String globalName)
           
 org.kie.api.runtime.KieSession getSession()
           
 void storeEvent(SimulationEvent event)
           
 
Methods inherited from class org.jbpm.simulation.impl.InMemorySimulationRepository
getEvents, getSimulationInfo, setSimulationInfo
 
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.kie.api.io.Resource... rules)

WorkingMemorySimulationRepository

public WorkingMemorySimulationRepository(boolean fireRulesOnStore,
                                         org.kie.api.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.kie.api.runtime.KieSession getSession()

getAggregatedEvents

public List<AggregatedSimulationEvent> getAggregatedEvents()

getGlobal

public Object getGlobal(String globalName)

close

public void close()
Overrides:
close in class InMemorySimulationRepository

jBPM Simulation 6.0.0.Beta4

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