org.jbpm.sim.datasource
Class HistorialProcessVariableSource

java.lang.Object
  extended by org.jbpm.sim.datasource.HistorialProcessVariableSource
All Implemented Interfaces:
ProcessDataSource

public class HistorialProcessVariableSource
extends java.lang.Object
implements ProcessDataSource

Default implementation of ProcessVariableSource which gets process variables from historical log data. NOT YET IMPLEMENTED TODO: implement

Author:
bernd.ruecker@camunda.com

Constructor Summary
HistorialProcessVariableSource()
           
HistorialProcessVariableSource(org.jbpm.command.CommandService commandService)
           
 
Method Summary
 void addNextData(org.jbpm.graph.exe.ExecutionContext ctx)
          adds the next generated data of the data source to the process context
 org.jbpm.command.CommandService getCommandService()
           
 boolean hasNext()
          if false, no more data can be queried from this data source TODO: It should be possible, that the simulation ends when the data source stops sending data
 void reset()
           
 void setCommandService(org.jbpm.command.CommandService commandService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistorialProcessVariableSource

public HistorialProcessVariableSource()

HistorialProcessVariableSource

public HistorialProcessVariableSource(org.jbpm.command.CommandService commandService)
Method Detail

reset

public void reset()
Specified by:
reset in interface ProcessDataSource

getCommandService

public org.jbpm.command.CommandService getCommandService()

setCommandService

public void setCommandService(org.jbpm.command.CommandService commandService)

hasNext

public boolean hasNext()
Description copied from interface: ProcessDataSource
if false, no more data can be queried from this data source TODO: It should be possible, that the simulation ends when the data source stops sending data

Specified by:
hasNext in interface ProcessDataSource

addNextData

public void addNextData(org.jbpm.graph.exe.ExecutionContext ctx)
Description copied from interface: ProcessDataSource
adds the next generated data of the data source to the process context

Specified by:
addNextData in interface ProcessDataSource


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.