org.jbpm.sim.bam
Class GetSimulationInputCommand
java.lang.Object
org.jbpm.command.AbstractBaseCommand
org.jbpm.command.AbstractGetObjectBaseCommand
org.jbpm.command.GetProcessDefinitionCommand
org.jbpm.sim.bam.GetSimulationInputCommand
- All Implemented Interfaces:
- java.io.Serializable, Command
public class GetSimulationInputCommand
- extends GetProcessDefinitionCommand
This command can read jbpm log data and propose
simulation inputs based on this data.
The following informations are gathered:
- process starting event distribution
- outgoing probabilities (decision, state & task instance)
- time distribution for states and task instances
Open Todos at the moment
- activate time limits again (problem with HSQL at the moment)
- support more time frames (e.g. to easily support excluding lunch)
- support super states
- support sub processes
- fix query for process start event intervals: There are still some problems with that query: JIRA 1082
- Author:
- bernd.ruecker@camunda.com
- See Also:
- Serialized Form
| Methods inherited from class org.jbpm.command.AbstractGetObjectBaseCommand |
getJbpmContext, getVariablesToInclude, includeAllVariables, isIncludeAllVariables, retrieveNode, retrieveProcessDefinition, retrieveProcessInstance, retrieveTaskInstanceDetails, retrieveToken, retrieveVariables, retrieveVariables, setIncludeAllVariables, setJbpmContext, setVariablesToInclude, setVariablesToInclude, variablesToInclude, variablesToInclude |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GetSimulationInputCommand
public GetSimulationInputCommand()
GetSimulationInputCommand
public GetSimulationInputCommand(java.lang.String name)
GetSimulationInputCommand
public GetSimulationInputCommand(java.lang.String name,
int version)
execute
public java.lang.Object execute(JbpmContext jbpmContext)
throws java.lang.Exception
- Specified by:
execute in interface Command- Overrides:
execute in class GetProcessDefinitionCommand
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- I used this testcode to test a bit locally
Shoud be deleted or replaced by a real unit test later!!
- Throws:
java.lang.Exception
getFromTimeOfDay
public java.util.Date getFromTimeOfDay()
setFromTimeOfDay
public void setFromTimeOfDay(java.util.Date fromTimeOfDay)
getTillTimeOfDay
public java.util.Date getTillTimeOfDay()
setTillTimeOfDay
public void setTillTimeOfDay(java.util.Date tillTimeOfDay)
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.