org.jbpm.sim.bam
Class GetSimulationInputCommand

java.lang.Object
  extended by org.jbpm.command.AbstractBaseCommand
      extended by org.jbpm.command.AbstractGetObjectBaseCommand
          extended by org.jbpm.command.GetProcessDefinitionCommand
              extended by 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:

Open Todos at the moment

Author:
bernd.ruecker@camunda.com
See Also:
Serialized Form

Constructor Summary
GetSimulationInputCommand()
           
GetSimulationInputCommand(java.lang.String name)
           
GetSimulationInputCommand(java.lang.String name, int version)
           
 
Method Summary
 java.lang.Object execute(JbpmContext jbpmContext)
           
 java.util.Date getFromTimeOfDay()
           
 java.util.Date getTillTimeOfDay()
           
static void main(java.lang.String[] args)
          I used this testcode to test a bit locally Shoud be deleted or replaced by a real unit test later!!
 void setFromTimeOfDay(java.util.Date fromTimeOfDay)
           
 void setTillTimeOfDay(java.util.Date tillTimeOfDay)
           
 
Methods inherited from class org.jbpm.command.GetProcessDefinitionCommand
getAdditionalToStringInformation, getName, getVersion, name, setName, setVersion, version
 
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 org.jbpm.command.AbstractBaseCommand
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetSimulationInputCommand

public GetSimulationInputCommand()

GetSimulationInputCommand

public GetSimulationInputCommand(java.lang.String name)

GetSimulationInputCommand

public GetSimulationInputCommand(java.lang.String name,
                                 int version)
Method Detail

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 © 2010 JBoss Community. All Rights Reserved.