|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbpm.sim.def.JbpmSimulationExperiment
public class JbpmSimulationExperiment
This class represents a full blown jbpm simulation experiment,
which can include several simulation scenarios, maybe to compare them.
Every scenario inside the JbpmSimulationExperiment is executed in a
DESMO-J experiment. So don't be confused about this two different
definition of the term "experiment" in this area.
The configuration is done with this XML:
Field Summary
static intHOURS
static intMILLISECONDS
static intMINUTES
static intSECONDS
Constructor Summary
JbpmSimulationExperiment(java.lang.String name)
Method Summary
voidaddScenario(JbpmSimulationScenario scenario)
java.lang.StringgetCurrency()
java.lang.StringgetName()
java.lang.StringgetOutputPathName()
java.util.DategetRealStartDate()
ExperimentReportgetReport()
doublegetResetTime()
JbpmSimulationScenariogetScenario(java.lang.String name)
java.util.CollectiongetScenarios()
longgetSeed()
ScenarioReportgetSimulationReportForScenario(java.lang.String scenarioName)
retrieves the org.jbpm.sim.report.SimulationReport for the specified scenario.
doublegetSimulationRunTime()
intgetTimeUnit()
doublegetUnutilizedTimeCostFactor()
booleangetWriteDesmojHtmlOutput()
booleanisRememberEndedProcessInstances()
voidrun()
run the experiment and start simulation of all scenario's.
voidrun(SimulationProgressListener listener)
run the experiment and start simulation of all scenario's.
voidsetCurrency(java.lang.String currency)
voidsetOutputPathName(java.lang.String outputPathName)
voidsetRealStartDate(java.util.Date realStartDate)
voidsetRealStartDate(java.lang.String realStartTimeString)
voidsetRememberEndedProcessInstances(boolean rememberEndedProcessInstances)
voidsetResetTime(double resetTime)
voidsetSeed(long seed)
voidsetSimulationRunTime(double simulationRunTime)
voidsetTimeUnit(int timeUnit)
voidsetUnutilizedTimeCostFactor(double unutilizedTimeCostFactor)
voidsetWriteDesmojHtmlOutput(boolean writeDesmojHtmlOutput)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
MILLISECONDS
public static int MILLISECONDS
SECONDS
public static int SECONDS
MINUTES
public static int MINUTES
HOURS
public static int HOURS
Constructor Detail
JbpmSimulationExperiment
public JbpmSimulationExperiment(java.lang.String name)
Method Detail
addScenario
public void addScenario(JbpmSimulationScenario scenario)
run
public void run()
run
public void run(SimulationProgressListener listener)
getScenarios
public java.util.Collection getScenarios()
getScenario
public JbpmSimulationScenario getScenario(java.lang.String name)
getSimulationReportForScenario
public ScenarioReport getSimulationReportForScenario(java.lang.String scenarioName)
org.jbpm.sim.report.SimulationReport for the specified scenario.
The SimulationResult is null in case the simulation hasn't run yet.
scenarioName - the name of the scenario
setSimulationRunTime
public void setSimulationRunTime(double simulationRunTime)
setRealStartDate
public void setRealStartDate(java.lang.String realStartTimeString)
setRealStartDate
public void setRealStartDate(java.util.Date realStartDate)
setTimeUnit
public void setTimeUnit(int timeUnit)
setOutputPathName
public void setOutputPathName(java.lang.String outputPathName)
getName
public java.lang.String getName()
getSimulationRunTime
public double getSimulationRunTime()
getRealStartDate
public java.util.Date getRealStartDate()
getTimeUnit
public int getTimeUnit()
getOutputPathName
public java.lang.String getOutputPathName()
getWriteDesmojHtmlOutput
public boolean getWriteDesmojHtmlOutput()
setWriteDesmojHtmlOutput
public void setWriteDesmojHtmlOutput(boolean writeDesmojHtmlOutput)
getReport
public ExperimentReport getReport()
getCurrency
public java.lang.String getCurrency()
setCurrency
public void setCurrency(java.lang.String currency)
isRememberEndedProcessInstances
public boolean isRememberEndedProcessInstances()
setRememberEndedProcessInstances
public void setRememberEndedProcessInstances(boolean rememberEndedProcessInstances)
getUnutilizedTimeCostFactor
public double getUnutilizedTimeCostFactor()
setUnutilizedTimeCostFactor
public void setUnutilizedTimeCostFactor(double unutilizedTimeCostFactor)
getResetTime
public double getResetTime()
setResetTime
public void setResetTime(double resetTime)
getSeed
public long getSeed()
setSeed
public void setSeed(long seed)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2010 JBoss Community. All Rights Reserved.