org.jbpm.sim.datasource
Interface ProcessDataSource

All Known Implementing Classes:
HistorialProcessVariableSource

public interface ProcessDataSource

A VariableSource implementation generates process variables for simulation runs. The simulation just queries the process variables it needs and create the next one as soon the next process instance is created.

Author:
bernd.ruecker@camunda.com

Method Summary
 void addNextData(ExecutionContext ctx)
          adds the next generated data of the data source to the process context
 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()
           
 

Method Detail

addNextData

void addNextData(ExecutionContext ctx)
adds the next generated data of the data source to the process context

Parameters:
ctx -

reset

void reset()

hasNext

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



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