public class DefaultProcessService extends Object implements ProcessService
This class provides the process definition management functionality based on the process definition providers and the process definition persistence.
Constructor and Description |
---|
DefaultProcessService(WorkObjectService workObjectService) |
Modifier and Type | Method and Description |
---|---|
void |
signal(String signalName)
Send a signal with the specified
signalName . |
void |
signal(String signalName,
Map<String,Object> variables)
Send a signal with the specified
signalName . |
void |
signal(String signalName,
String processWorkObjectId)
Send a signal with the specified
signalName to a specified process work object. |
void |
signal(String signalName,
String processWorkObjectId,
Map<String,Object> variables)
Send a signal with the specified
signalName to a specified process work object. |
@Autowired public DefaultProcessService(WorkObjectService workObjectService)
public void signal(String signalName)
ProcessService
Send a signal with the specified signalName
. All processes in the current tenant which are waiting for
the specified signal will be notified.
signal
in interface ProcessService
signalName
- the name of the signalpublic void signal(String signalName, Map<String,Object> variables)
ProcessService
Send a signal with the specified signalName
. All processes in the current tenant which are waiting for
the specified signal will be notified. The variables are stored on the process instance before
the signal is triggered.
signal
in interface ProcessService
signalName
- the name of the signalvariables
- the payload of the signal as variablespublic void signal(String signalName, String processWorkObjectId)
ProcessService
Send a signal with the specified signalName
to a specified process work object. All signals which are
waiting in the process will be notified.
signal
in interface ProcessService
signalName
- the name of the signalprocessWorkObjectId
- the work object id of the processpublic void signal(String signalName, String processWorkObjectId, Map<String,Object> variables)
ProcessService
Send a signal with the specified signalName
to a specified process work object. All signals which are
waiting in the process will be notified. The variables are stored on the process instance before
the signal is triggered.
signal
in interface ProcessService
signalName
- the name of the signalprocessWorkObjectId
- the work object id of the processvariables
- the payload of the signal as variablesCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.