Package org.jbpm.simulation.impl.events
Class ActivitySimulationEvent
- java.lang.Object
-
- org.jbpm.simulation.impl.events.GenericSimulationEvent
-
- org.jbpm.simulation.impl.events.ActivitySimulationEvent
-
- All Implemented Interfaces:
SimulationEvent
public class ActivitySimulationEvent extends GenericSimulationEvent
-
-
Field Summary
Fields Modifier and Type Field Description protected StringactivityIdprotected StringactivityNameprotected longdurationprotected Stringtype-
Fields inherited from class org.jbpm.simulation.impl.events.GenericSimulationEvent
aggregatedEvent, customMetrics, endTime, processId, processInstanceId, startTime, used, uuid
-
-
Constructor Summary
Constructors Constructor Description ActivitySimulationEvent(String processId, long processInstanceId, String activityName, String activityId, long duration, long startTime, long endTime, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActivityId()StringgetActivityName()longgetDuration()StringgetType()StringtoString()-
Methods inherited from class org.jbpm.simulation.impl.events.GenericSimulationEvent
addCustomMetric, getAggregatedEvent, getEndTime, getMetric, getProcessId, getProcessInstanceId, getStartTime, getUUID, isUsed, setAggregatedEvent, setUsed
-
-
-
-
Method Detail
-
getActivityName
public String getActivityName()
-
getActivityId
public String getActivityId()
-
getDuration
public long getDuration()
-
toString
public String toString()
- Overrides:
toStringin classGenericSimulationEvent
-
getType
public String getType()
- Specified by:
getTypein interfaceSimulationEvent- Overrides:
getTypein classGenericSimulationEvent
-
-