org.jbpm.simulation.impl.events
Class GenericSimulationEvent
java.lang.Object
org.jbpm.simulation.impl.events.GenericSimulationEvent
- All Implemented Interfaces:
- SimulationEvent
- Direct Known Subclasses:
- ActivitySimulationEvent, EndSimulationEvent, GatewaySimulationEvent, HumanTaskActivitySimulationEvent, StartSimulationEvent
public class GenericSimulationEvent
- extends Object
- implements SimulationEvent
processId
protected String processId
processInstanceId
protected long processInstanceId
customMetrics
protected Map<String,Object> customMetrics
startTime
protected long startTime
endTime
protected long endTime
uuid
protected UUID uuid
GenericSimulationEvent
public GenericSimulationEvent(String processId,
long processInstanceId,
long startTime,
long endTime)
getStartTime
public long getStartTime()
- Specified by:
getStartTime in interface SimulationEvent
getEndTime
public long getEndTime()
- Specified by:
getEndTime in interface SimulationEvent
getProcessId
public String getProcessId()
- Specified by:
getProcessId in interface SimulationEvent
getProcessInstanceId
public long getProcessInstanceId()
- Specified by:
getProcessInstanceId in interface SimulationEvent
getUUID
public UUID getUUID()
- Specified by:
getUUID in interface SimulationEvent
getMetric
public String getMetric(String name)
- Specified by:
getMetric in interface SimulationEvent
addCustomMetric
public void addCustomMetric(String name,
Object value)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.