Class ServiceInvocationBuilderImpl
java.lang.Object
com.flowable.serviceregistry.engine.impl.runtime.ServiceInvocationBuilderImpl
- All Implemented Interfaces:
ServiceInvocationBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected ServiceRegistryRuntimeServiceImplprotected Stringprotected Stringprotected Stringprotected VariableContainer -
Constructor Summary
ConstructorsConstructorDescriptionServiceInvocationBuilderImpl(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 theServiceDefinitionusing 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:
serviceDefinitionIdin interfaceServiceInvocationBuilder
-
serviceKey
- Specified by:
serviceKeyin interfaceServiceInvocationBuilder
-
referenceKey
- Specified by:
referenceKeyin interfaceServiceInvocationBuilder
-
operationKey
- Specified by:
operationKeyin interfaceServiceInvocationBuilder
-
operationType
- Specified by:
operationTypein interfaceServiceInvocationBuilder
-
serviceData
- Specified by:
serviceDatain interfaceServiceInvocationBuilder
-
serviceData
- Specified by:
serviceDatain interfaceServiceInvocationBuilder
-
variableContainer
- Specified by:
variableContainerin interfaceServiceInvocationBuilder
-
additionalData
- Specified by:
additionalDatain interfaceServiceInvocationBuilder
-
additionalData
- Specified by:
additionalDatain interfaceServiceInvocationBuilder
-
tenantId
- Specified by:
tenantIdin interfaceServiceInvocationBuilder
-
parentDeploymentId
Description copied from interface:ServiceInvocationBuilderRestricts the lookup of theServiceDefinitionusing 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:
parentDeploymentIdin interfaceServiceInvocationBuilder
-
invoke
Description copied from interface:ServiceInvocationBuilderTo 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:
invokein interfaceServiceInvocationBuilder
-
invokeList
- Specified by:
invokeListin interfaceServiceInvocationBuilder
-
getServiceDefinitionId
- Specified by:
getServiceDefinitionIdin interfaceServiceInvocationBuilder
-
getServiceKey
- Specified by:
getServiceKeyin interfaceServiceInvocationBuilder
-
getReferenceKey
- Specified by:
getReferenceKeyin interfaceServiceInvocationBuilder
-
getOperationKey
- Specified by:
getOperationKeyin interfaceServiceInvocationBuilder
-
getOperationType
- Specified by:
getOperationTypein interfaceServiceInvocationBuilder
-
getServiceData
- Specified by:
getServiceDatain interfaceServiceInvocationBuilder
-
getAdditionalData
- Specified by:
getAdditionalDatain interfaceServiceInvocationBuilder
-
getVariableContainer
- Specified by:
getVariableContainerin interfaceServiceInvocationBuilder
-
getTenantId
- Specified by:
getTenantIdin interfaceServiceInvocationBuilder
-
getParentDeploymentId
- Specified by:
getParentDeploymentIdin interfaceServiceInvocationBuilder
-