Package org.openwms.tms.routing.spi
Class CamundaExecutor
java.lang.Object
org.openwms.tms.routing.spi.CamundaExecutor
- All Implemented Interfaces:
ProgramExecutor
A CamundaExecutor delegates to Camunda for program execution.
- Author:
- Heiko Scherrer
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private final org.camunda.bpm.engine.RepositoryService
private final org.camunda.bpm.engine.RuntimeService
-
Constructor Summary
ConstructorDescriptionCamundaExecutor
(org.camunda.bpm.engine.RuntimeService runtimeService, org.camunda.bpm.engine.RepositoryService repositoryService) -
Method Summary
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
runtimeService
private final org.camunda.bpm.engine.RuntimeService runtimeService -
repositoryService
private final org.camunda.bpm.engine.RepositoryService repositoryService
-
-
Constructor Details
-
CamundaExecutor
CamundaExecutor(org.camunda.bpm.engine.RuntimeService runtimeService, org.camunda.bpm.engine.RepositoryService repositoryService)
-
-
Method Details
-
execute
Execute the Action also calledprogram
with the given input parametersruntimeVariables
.- Specified by:
execute
in interfaceProgramExecutor
- Parameters:
program
- The program to executeruntimeVariables
- A map of input values, passed to the program- Returns:
- The program result
-