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

org.jbpm.command.ResumeProcessInstanceCommand Maven / Gradle / Ivy

The newest version!
package org.jbpm.command;

import org.jbpm.graph.exe.ProcessInstance;

/**
 * Resume the specified {@link ProcessInstance}(s). See {@link AbstractProcessInstanceBaseCommand}
 * to check possibilities to specify {@link ProcessInstance}(s).
 * 
 * @author [email protected]
 */
public class ResumeProcessInstanceCommand extends AbstractProcessInstanceBaseCommand {

  private static final long serialVersionUID = 1L;

  public ProcessInstance execute(ProcessInstance processInstance) {
    processInstance.resume();
    return processInstance;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy