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 ServiceInvocationBuilder
public ServiceInvocationBuilder serviceKey(String serviceKey)
serviceKey
in interface ServiceInvocationBuilder
public ServiceInvocationBuilder referenceKey(String referenceKey)
referenceKey
in interface ServiceInvocationBuilder
public ServiceInvocationBuilder operationKey(String operationKey)
operationKey
in interface ServiceInvocationBuilder
public ServiceInvocationBuilder operationType(String operationType)
operationType
in interface ServiceInvocationBuilder
public ServiceInvocationBuilder serviceData(Map<String,Object> serviceData)
serviceData
in interface ServiceInvocationBuilder
public ServiceInvocationBuilder serviceData(String key, Object value)
serviceData
in interface ServiceInvocationBuilder
public ServiceInvocationBuilder variableContainer(VariableContainer variableContainer)
variableContainer
in interface ServiceInvocationBuilder
public ServiceInvocationBuilder additionalData(Map<String,Object> additionalData)
additionalData
in interface ServiceInvocationBuilder
public ServiceInvocationBuilder additionalData(String key, Object value)
additionalData
in interface ServiceInvocationBuilder
public ServiceInvocationBuilder tenantId(String tenantId)
tenantId
in interface ServiceInvocationBuilder
public ServiceInvocationBuilder parentDeploymentId(String parentDeploymentId)
ServiceInvocationBuilder
ServiceDefinition
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 ServiceInvocationBuilder
public ServiceInvocationResultResponse invoke()
ServiceInvocationBuilder
invoke
in interface ServiceInvocationBuilder
public List<ServiceInvocationResultResponse> invokeList()
invokeList
in interface ServiceInvocationBuilder
public String getServiceDefinitionId()
getServiceDefinitionId
in interface ServiceInvocationBuilder
public String getServiceKey()
getServiceKey
in interface ServiceInvocationBuilder
public String getReferenceKey()
getReferenceKey
in interface ServiceInvocationBuilder
public String getOperationKey()
getOperationKey
in interface ServiceInvocationBuilder
public String getOperationType()
getOperationType
in interface ServiceInvocationBuilder
public Map<String,Object> getServiceData()
getServiceData
in interface ServiceInvocationBuilder
public Map<String,Object> getAdditionalData()
getAdditionalData
in interface ServiceInvocationBuilder
public VariableContainer getVariableContainer()
getVariableContainer
in interface ServiceInvocationBuilder
public String getTenantId()
getTenantId
in interface ServiceInvocationBuilder
public String getParentDeploymentId()
getParentDeploymentId
in interface ServiceInvocationBuilder