Package org.jbpm.simulation.impl.events
Class AggregatedProcessSimulationEvent
- java.lang.Object
-
- org.jbpm.simulation.impl.events.AggregatedProcessSimulationEvent
-
- All Implemented Interfaces:
AggregatedSimulationEvent
public class AggregatedProcessSimulationEvent extends Object implements AggregatedSimulationEvent
-
-
Field Summary
Fields Modifier and Type Field Description protected doubleavgExecutionTimeprotected doublemaxExecutionTimeprotected doubleminExecutionTimeprotected Map<String,Integer>pathInstancesprotected StringprocessIdprotected StringprocessNameprotected StringprocessVersionprotected Stringtype
-
Constructor Summary
Constructors Constructor Description AggregatedProcessSimulationEvent(Object processInfo, Number minExecutionTime, Number avgExecutionTime, Number maxExecutionTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcalculateAggregatedPaths(List<String> pathIds)voidcalculatePaths(List<String> pathIds)doublegetAvgExecutionTime()doublegetMaxExecutionTime()doublegetMinExecutionTime()IntegergetNumberOfInstancesPerPath(String pathId)StringgetPathInfo()Map<String,Integer>getPathNumberOfInstances()StringgetProcessId()StringgetProcessName()StringgetProcessVersion()ObjectgetProperty(String name)StringgetType()voidsetAvgExecutionTime(double avgExecutionTime)voidsetMaxExecutionTime(double maxExecutionTime)voidsetMinExecutionTime(double minExecutionTime)voidsetProcessId(String processId)protected voidsetProcessInfoValues(Object processInfo)voidsetProcessName(String processName)voidsetProcessVersion(String processVersion)
-
-
-
Field Detail
-
type
protected String type
-
processId
protected String processId
-
processName
protected String processName
-
processVersion
protected String processVersion
-
minExecutionTime
protected double minExecutionTime
-
avgExecutionTime
protected double avgExecutionTime
-
maxExecutionTime
protected double maxExecutionTime
-
-
Method Detail
-
setProcessInfoValues
protected void setProcessInfoValues(Object processInfo)
-
getMinExecutionTime
public double getMinExecutionTime()
-
setMinExecutionTime
public void setMinExecutionTime(double minExecutionTime)
-
getAvgExecutionTime
public double getAvgExecutionTime()
-
setAvgExecutionTime
public void setAvgExecutionTime(double avgExecutionTime)
-
getMaxExecutionTime
public double getMaxExecutionTime()
-
setMaxExecutionTime
public void setMaxExecutionTime(double maxExecutionTime)
-
getProperty
public Object getProperty(String name)
- Specified by:
getPropertyin interfaceAggregatedSimulationEvent
-
getType
public String getType()
- Specified by:
getTypein interfaceAggregatedSimulationEvent
-
getProcessId
public String getProcessId()
-
setProcessId
public void setProcessId(String processId)
-
getProcessName
public String getProcessName()
-
setProcessName
public void setProcessName(String processName)
-
getProcessVersion
public String getProcessVersion()
-
setProcessVersion
public void setProcessVersion(String processVersion)
-
getPathInfo
public String getPathInfo()
-
-