Package org.jbpm.simulation.impl
Class WorkingMemorySimulationRepository
- java.lang.Object
-
- org.jbpm.simulation.impl.InMemorySimulationRepository
-
- 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
Constructors Constructor Description WorkingMemorySimulationRepository()WorkingMemorySimulationRepository(boolean fireRulesOnStore, String... rules)WorkingMemorySimulationRepository(boolean fireRulesOnStore, org.kie.api.io.Resource... rules)WorkingMemorySimulationRepository(String... rules)WorkingMemorySimulationRepository(org.kie.api.io.Resource... rules)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidfireAllRules()List<AggregatedSimulationEvent>getAggregatedEvents()ObjectgetGlobal(String globalName)org.kie.api.runtime.KieSessiongetSession()voidstoreEvent(SimulationEvent event)-
Methods inherited from class org.jbpm.simulation.impl.InMemorySimulationRepository
getEvents, getSimulationInfo, setSimulationInfo
-
-
-
-
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:
storeEventin interfaceSimulationRepository- Overrides:
storeEventin classInMemorySimulationRepository
-
fireAllRules
public void fireAllRules()
-
getSession
public org.kie.api.runtime.KieSession getSession()
-
getAggregatedEvents
public List<AggregatedSimulationEvent> getAggregatedEvents()
-
close
public void close()
- Overrides:
closein classInMemorySimulationRepository
-
-