Class ServiceInvocationBuilderImpl
java.lang.Object
com.flowable.serviceregistry.engine.impl.runtime.ServiceInvocationBuilderImpl
- All Implemented Interfaces:
ServiceInvocationBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected ServiceRegistryRuntimeServiceImpl
protected String
protected String
protected String
protected VariableContainer
-
Constructor Summary
ConstructorDescriptionServiceInvocationBuilderImpl
(ServiceRegistryRuntimeServiceImpl runtimeService) -
Method Summary
Modifier and TypeMethodDescriptionadditionalData
(String key, Object value) additionalData
(Map<String, Object> additionalData) invoke()
To make sure everything is serializable into proper case/process variables (also important for indexing), the return type is fixed to a json representation.operationKey
(String operationKey) operationType
(String operationType) parentDeploymentId
(String parentDeploymentId) Restricts the lookup of theServiceDefinition
using theServiceInvocationBuilder.serviceKey(String)
to the given parent deployment.referenceKey
(String referenceKey) serviceData
(String key, Object value) serviceData
(Map<String, Object> serviceData) serviceDefinitionId
(String serviceDefinitionId) serviceKey
(String serviceKey) variableContainer
(VariableContainer variableContainer)
-
Field Details
-
runtimeService
-
serviceDefinitionId
-
serviceKey
-
referenceKey
-
operationKey
-
operationType
-
serviceData
-
additionalData
-
variableContainer
-
tenantId
-
parentDeploymentId
-
-
Constructor Details
-
ServiceInvocationBuilderImpl
-
-
Method Details
-
serviceDefinitionId
- Specified by:
serviceDefinitionId
in interfaceServiceInvocationBuilder
-
serviceKey
- Specified by:
serviceKey
in interfaceServiceInvocationBuilder
-
referenceKey
- Specified by:
referenceKey
in interfaceServiceInvocationBuilder
-
operationKey
- Specified by:
operationKey
in interfaceServiceInvocationBuilder
-
operationType
- Specified by:
operationType
in interfaceServiceInvocationBuilder
-
serviceData
- Specified by:
serviceData
in interfaceServiceInvocationBuilder
-
serviceData
- Specified by:
serviceData
in interfaceServiceInvocationBuilder
-
variableContainer
- Specified by:
variableContainer
in interfaceServiceInvocationBuilder
-
additionalData
- Specified by:
additionalData
in interfaceServiceInvocationBuilder
-
additionalData
- Specified by:
additionalData
in interfaceServiceInvocationBuilder
-
tenantId
- Specified by:
tenantId
in interfaceServiceInvocationBuilder
-
parentDeploymentId
Description copied from interface:ServiceInvocationBuilder
Restricts the lookup of theServiceDefinition
using theServiceInvocationBuilder.serviceKey(String)
to the given parent deployment. This is typically needed when the service registry is called for example from the process or case engine to invoke a service and it needs to look up the service definition in the same deployment.- Specified by:
parentDeploymentId
in interfaceServiceInvocationBuilder
-
invoke
Description copied from interface:ServiceInvocationBuilder
To make sure everything is serializable into proper case/process variables (also important for indexing), the return type is fixed to a json representation.- Specified by:
invoke
in interfaceServiceInvocationBuilder
-
invokeList
- Specified by:
invokeList
in interfaceServiceInvocationBuilder
-
getServiceDefinitionId
- Specified by:
getServiceDefinitionId
in interfaceServiceInvocationBuilder
-
getServiceKey
- Specified by:
getServiceKey
in interfaceServiceInvocationBuilder
-
getReferenceKey
- Specified by:
getReferenceKey
in interfaceServiceInvocationBuilder
-
getOperationKey
- Specified by:
getOperationKey
in interfaceServiceInvocationBuilder
-
getOperationType
- Specified by:
getOperationType
in interfaceServiceInvocationBuilder
-
getServiceData
- Specified by:
getServiceData
in interfaceServiceInvocationBuilder
-
getAdditionalData
- Specified by:
getAdditionalData
in interfaceServiceInvocationBuilder
-
getVariableContainer
- Specified by:
getVariableContainer
in interfaceServiceInvocationBuilder
-
getTenantId
- Specified by:
getTenantId
in interfaceServiceInvocationBuilder
-
getParentDeploymentId
- Specified by:
getParentDeploymentId
in interfaceServiceInvocationBuilder
-