public class ServiceInvocationBuilderImpl extends Object implements ServiceInvocationBuilder
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
additionalData |
protected String |
operationKey |
protected String |
operationType |
protected String |
parentDeploymentId |
protected String |
referenceKey |
protected ServiceRegistryRuntimeServiceImpl |
runtimeService |
protected Map<String,Object> |
serviceData |
protected String |
serviceDefinitionId |
protected String |
serviceKey |
protected String |
tenantId |
protected VariableContainer |
variableContainer |
| Constructor and Description |
|---|
ServiceInvocationBuilderImpl(ServiceRegistryRuntimeServiceImpl runtimeService) |
protected ServiceRegistryRuntimeServiceImpl runtimeService
protected String serviceDefinitionId
protected String serviceKey
protected String referenceKey
protected String operationKey
protected String operationType
protected VariableContainer variableContainer
protected String tenantId
protected String parentDeploymentId
public ServiceInvocationBuilderImpl(ServiceRegistryRuntimeServiceImpl runtimeService)
public ServiceInvocationBuilder serviceDefinitionId(String serviceDefinitionId)
serviceDefinitionId in interface ServiceInvocationBuilderpublic ServiceInvocationBuilder serviceKey(String serviceKey)
serviceKey in interface ServiceInvocationBuilderpublic ServiceInvocationBuilder referenceKey(String referenceKey)
referenceKey in interface ServiceInvocationBuilderpublic ServiceInvocationBuilder operationKey(String operationKey)
operationKey in interface ServiceInvocationBuilderpublic ServiceInvocationBuilder operationType(String operationType)
operationType in interface ServiceInvocationBuilderpublic ServiceInvocationBuilder serviceData(Map<String,Object> serviceData)
serviceData in interface ServiceInvocationBuilderpublic ServiceInvocationBuilder serviceData(String key, Object value)
serviceData in interface ServiceInvocationBuilderpublic ServiceInvocationBuilder variableContainer(VariableContainer variableContainer)
variableContainer in interface ServiceInvocationBuilderpublic ServiceInvocationBuilder additionalData(Map<String,Object> additionalData)
additionalData in interface ServiceInvocationBuilderpublic ServiceInvocationBuilder additionalData(String key, Object value)
additionalData in interface ServiceInvocationBuilderpublic ServiceInvocationBuilder tenantId(String tenantId)
tenantId in interface ServiceInvocationBuilderpublic ServiceInvocationBuilder parentDeploymentId(String parentDeploymentId)
ServiceInvocationBuilderServiceDefinition
using the ServiceInvocationBuilder.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.parentDeploymentId in interface ServiceInvocationBuilderpublic ServiceInvocationResultResponse invoke()
ServiceInvocationBuilderinvoke in interface ServiceInvocationBuilderpublic List<ServiceInvocationResultResponse> invokeList()
invokeList in interface ServiceInvocationBuilderpublic String getServiceDefinitionId()
getServiceDefinitionId in interface ServiceInvocationBuilderpublic String getServiceKey()
getServiceKey in interface ServiceInvocationBuilderpublic String getReferenceKey()
getReferenceKey in interface ServiceInvocationBuilderpublic String getOperationKey()
getOperationKey in interface ServiceInvocationBuilderpublic String getOperationType()
getOperationType in interface ServiceInvocationBuilderpublic Map<String,Object> getServiceData()
getServiceData in interface ServiceInvocationBuilderpublic Map<String,Object> getAdditionalData()
getAdditionalData in interface ServiceInvocationBuilderpublic VariableContainer getVariableContainer()
getVariableContainer in interface ServiceInvocationBuilderpublic String getTenantId()
getTenantId in interface ServiceInvocationBuilderpublic String getParentDeploymentId()
getParentDeploymentId in interface ServiceInvocationBuilder