public abstract class AbstractRecordActivitiEventListener extends Object implements ActivitiEventListener
Modifier and Type | Field and Description |
---|---|
protected List<Function<ActivitiEvent,SimulationEvent>> |
transformers |
Constructor and Description |
---|
AbstractRecordActivitiEventListener(List<Function<ActivitiEvent,SimulationEvent>> transformers) |
Modifier and Type | Method and Description |
---|---|
abstract Collection<SimulationEvent> |
getSimulationEvents() |
boolean |
isFailOnException() |
void |
onEvent(ActivitiEvent event) |
protected abstract void |
store(Collection<SimulationEvent> simulationEvents) |
protected Collection<SimulationEvent> |
transform(ActivitiEvent event) |
protected List<Function<ActivitiEvent,SimulationEvent>> transformers
public AbstractRecordActivitiEventListener(List<Function<ActivitiEvent,SimulationEvent>> transformers)
public abstract Collection<SimulationEvent> getSimulationEvents()
public void onEvent(ActivitiEvent event)
onEvent
in interface ActivitiEventListener
protected abstract void store(Collection<SimulationEvent> simulationEvents)
protected Collection<SimulationEvent> transform(ActivitiEvent event)
public boolean isFailOnException()
isFailOnException
in interface ActivitiEventListener
Copyright © 2016 Alfresco. All rights reserved.