public class ExecuteActionInstanceBuilderImpl extends Object implements ExecuteActionInstanceBuilder
Modifier and Type | Field and Description |
---|---|
protected String |
actionDefinitionId |
protected String |
actionDefinitionKey |
protected String |
actionInstanceId |
protected ActionRuntimeServiceImpl |
actionRuntimeService |
protected String |
name |
protected Map<String,Object> |
payload |
protected String |
scopeDefinitionId |
protected String |
scopeId |
protected String |
scopeType |
protected String |
subScopeId |
protected String |
tenantId |
Constructor and Description |
---|
ExecuteActionInstanceBuilderImpl(ActionRuntimeServiceImpl actionRuntimeService) |
Modifier and Type | Method and Description |
---|---|
ExecuteActionInstanceBuilder |
actionDefinitionId(String actionDefinitionId)
Set the id of the action definition
|
ExecuteActionInstanceBuilder |
actionDefinitionKey(String actionDefinitionKey)
Set the key of the action definition, latest version of the action definition with the given key.
|
ExecuteActionInstanceBuilder |
actionInstanceId(String actionInstanceId)
Set the id of the action instance
|
ActionInstanceExecutionResult |
execute()
Executes the action instance
|
String |
getActionDefinitionId() |
String |
getActionDefinitionKey() |
String |
getActionInstanceId() |
ActionRuntimeService |
getActionRuntimeService() |
String |
getName() |
Map<String,Object> |
getPayload() |
String |
getScopeDefinitionId() |
String |
getScopeId() |
String |
getScopeType() |
String |
getSubScopeId() |
String |
getTenantId() |
ExecuteActionInstanceBuilder |
name(String name)
Set the name of the action instance
|
ExecuteActionInstanceBuilder |
payload(Map<String,Object> payload)
Set the payload of the action to be used for storing the form instance or executing the bot
|
ExecuteActionInstanceBuilder |
scopeDefinitionId(String scopeDefinitionId)
Set the scope definition id of the action instance
|
ExecuteActionInstanceBuilder |
scopeId(String scopeId)
Set the scope id of the action instance
|
ExecuteActionInstanceBuilder |
scopeType(String scopeType)
Set the scope type of the action instance
|
ExecuteActionInstanceBuilder |
subScopeId(String subScopeId)
Sets the sub scope id of the action instance
|
ExecuteActionInstanceBuilder |
tenantId(String tenantId)
Set the tenantId of process instance
|
protected ActionRuntimeServiceImpl actionRuntimeService
protected String actionInstanceId
protected String actionDefinitionId
protected String actionDefinitionKey
protected String name
protected String scopeId
protected String subScopeId
protected String scopeType
protected String scopeDefinitionId
protected String tenantId
public ExecuteActionInstanceBuilderImpl(ActionRuntimeServiceImpl actionRuntimeService)
public ExecuteActionInstanceBuilder actionInstanceId(String actionInstanceId)
ExecuteActionInstanceBuilder
actionInstanceId
in interface ExecuteActionInstanceBuilder
public ExecuteActionInstanceBuilder actionDefinitionId(String actionDefinitionId)
ExecuteActionInstanceBuilder
actionDefinitionId
in interface ExecuteActionInstanceBuilder
public ExecuteActionInstanceBuilder actionDefinitionKey(String actionDefinitionKey)
ExecuteActionInstanceBuilder
actionDefinitionKey
in interface ExecuteActionInstanceBuilder
public ExecuteActionInstanceBuilder name(String name)
ExecuteActionInstanceBuilder
name
in interface ExecuteActionInstanceBuilder
public ExecuteActionInstanceBuilder scopeId(String scopeId)
ExecuteActionInstanceBuilder
scopeId
in interface ExecuteActionInstanceBuilder
public ExecuteActionInstanceBuilder subScopeId(String subScopeId)
ExecuteActionInstanceBuilder
subScopeId
in interface ExecuteActionInstanceBuilder
public ExecuteActionInstanceBuilder scopeType(String scopeType)
ExecuteActionInstanceBuilder
scopeType
in interface ExecuteActionInstanceBuilder
public ExecuteActionInstanceBuilder scopeDefinitionId(String scopeDefinitionId)
ExecuteActionInstanceBuilder
scopeDefinitionId
in interface ExecuteActionInstanceBuilder
public ExecuteActionInstanceBuilder payload(Map<String,Object> payload)
ExecuteActionInstanceBuilder
payload
in interface ExecuteActionInstanceBuilder
public ExecuteActionInstanceBuilder tenantId(String tenantId)
ExecuteActionInstanceBuilder
tenantId
in interface ExecuteActionInstanceBuilder
public ActionInstanceExecutionResult execute()
ExecuteActionInstanceBuilder
execute
in interface ExecuteActionInstanceBuilder
public ActionRuntimeService getActionRuntimeService()
public String getActionInstanceId()
public String getActionDefinitionId()
public String getActionDefinitionKey()
public String getName()
public String getScopeId()
public String getSubScopeId()
public String getScopeType()
public String getScopeDefinitionId()
public String getTenantId()