org.jbpm.sim.exe
Class JbpmSimulationExperimentRunner

java.lang.Object
  extended by org.jbpm.sim.exe.JbpmSimulationExperimentRunner

public class JbpmSimulationExperimentRunner
extends java.lang.Object

main class to execute a simulation experiment and show the default report afterwards.

Author:
bernd.ruecker@camunda.com

Constructor Summary
JbpmSimulationExperimentRunner()
           
JbpmSimulationExperimentRunner(boolean showReport, boolean async, SimulationProgressListener progressListener)
           
 
Method Summary
 boolean isRememberEndedProcessInstances()
           
static void main()
           
 void run(java.lang.String experimentConfigurationXml)
          read the the experiment configuration and runs it.
 void setCreateDesmojHtmlOutput(boolean createDesmojHtmlOutput)
           
 void setRememberEndedProcessInstances(boolean rememberEndedProcessInstances)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbpmSimulationExperimentRunner

public JbpmSimulationExperimentRunner()

JbpmSimulationExperimentRunner

public JbpmSimulationExperimentRunner(boolean showReport,
                                      boolean async,
                                      SimulationProgressListener progressListener)
Method Detail

run

public void run(java.lang.String experimentConfigurationXml)
read the the experiment configuration and runs it. This includes start simulation of all scenario's. The simulation can take some time, but this method is not blocking if the property async is set to true (which is the default). If a org.jbpm.sim.exe.SimulationProgressListener is set, it is notifies of any progress of the simulation


main

public static void main()

setCreateDesmojHtmlOutput

public void setCreateDesmojHtmlOutput(boolean createDesmojHtmlOutput)

isRememberEndedProcessInstances

public boolean isRememberEndedProcessInstances()

setRememberEndedProcessInstances

public void setRememberEndedProcessInstances(boolean rememberEndedProcessInstances)


Copyright © 2010 JBoss Community. All Rights Reserved.