All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jbpm.sim.datasource.HistorialProcessVariableSource Maven / Gradle / Ivy

There is a newer version: 3.2.19.ayg
Show newest version
package org.jbpm.sim.datasource;

import org.jbpm.command.CommandService;
import org.jbpm.graph.exe.ExecutionContext;

/**
 * Default implementation of ProcessVariableSource which gets
 * process variables from historical log data.
 * 
 * NOT YET IMPLEMENTED
 * TODO: implement
 * @author [email protected]
 */
public class HistorialProcessVariableSource implements ProcessDataSource {

  /**
   * a CommandService reference is needed to query historical data
   */
  private CommandService commandService;
  
  public HistorialProcessVariableSource() {
  }
  
  public HistorialProcessVariableSource(CommandService commandService) {
    this.commandService = commandService;
  }

  public void reset() {
    throw new UnsupportedOperationException("not yet implemented");
  }

  public CommandService getCommandService() {
    return commandService;
  }

  public void setCommandService(CommandService commandService) {
    this.commandService = commandService;
  }

  public boolean hasNext() {
    throw new UnsupportedOperationException("not yet implemented");
  }

  public void addNextData(ExecutionContext ctx) {
    throw new UnsupportedOperationException("not yet implemented");
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy