public class WorkingMemorySimulationRepository extends InMemorySimulationRepository
events, simulationInfo
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
fireAllRules() |
List<AggregatedSimulationEvent> |
getAggregatedEvents() |
Object |
getGlobal(String globalName) |
org.kie.api.runtime.KieSession |
getSession() |
void |
storeEvent(SimulationEvent event) |
getEvents, getSimulationInfo, setSimulationInfo
public WorkingMemorySimulationRepository()
public WorkingMemorySimulationRepository(String... rules)
public WorkingMemorySimulationRepository(org.kie.api.io.Resource... rules)
public WorkingMemorySimulationRepository(boolean fireRulesOnStore, org.kie.api.io.Resource... rules)
public WorkingMemorySimulationRepository(boolean fireRulesOnStore, String... rules)
public void storeEvent(SimulationEvent event)
storeEvent
in interface SimulationRepository
storeEvent
in class InMemorySimulationRepository
public void fireAllRules()
public org.kie.api.runtime.KieSession getSession()
public List<AggregatedSimulationEvent> getAggregatedEvents()
public void close()
close
in class InMemorySimulationRepository
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.