com.day.cq.workflow.exec.JavaProcessExt Maven / Gradle / Ivy
package com.day.cq.workflow.exec;
import com.day.cq.workflow.WorkflowSession;
/**
* The JavaProcessExt
class ...
*
* @deprecated Use {@link WorkflowProcess} instead
*
* @see WorkflowProcess
*/
public interface JavaProcessExt extends JavaProcess {
/**
* Executes a new Java process with the given {@link WorkItem}
* and {@link com.day.cq.workflow.WorkflowSession}
.
*
* @param item
* The {@link WorkItem}
that defines the newly
* started JavaProcess
.
* @param session
* The {@link com.day.cq.workflow.WorkflowSession}
* that is used for starting the JavaProcess
.
* @param args
* Process specific arguments can be passed here
* @throws Exception
* Thrown in case something goes wrong during execution.
*/
void execute(WorkItem item, WorkflowSession session, String args[]) throws Exception;
}