Package de.esoco.process
Schnittstelle ProcessExecutor
public interface ProcessExecutor
Defines the interface for the execution of processes in the current
application's context.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungexecuteProcess
(ProcessDescription description, org.obrel.core.Relatable initParams) Executes a process and returns the resulting state.
-
Methodendetails
-
executeProcess
ProcessState executeProcess(ProcessDescription description, org.obrel.core.Relatable initParams) throws Exception Executes a process and returns the resulting state. If the process is interactive the returned state will not be finished and the state can be processed by an interactive front-end to perform user interactions.If the initialization parameters are not NULL they will all be copied onto the new process, overriding any existing parameters.
- Parameter:
description
- The description of the process to executeinitParams
- Optional process initialization parameters or NULL for none- Gibt zurück:
- The resulting process state or NULL if the process has already been finished by a previous execution.
- Löst aus:
Exception
- Any kind of exception can occur if the process execution fails
-