Class ExecuteActionInstanceBuilderImpl
- java.lang.Object
-
- com.flowable.action.engine.impl.runtime.ExecuteActionInstanceBuilderImpl
-
- All Implemented Interfaces:
ExecuteActionInstanceBuilder
public class ExecuteActionInstanceBuilderImpl extends Object implements ExecuteActionInstanceBuilder
- Author:
- Tijs Rademakers
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description ExecuteActionInstanceBuilderImpl(ActionRuntimeServiceImpl actionRuntimeService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecuteActionInstanceBuilder
actionDefinitionId(String actionDefinitionId)
Set the id of the action definitionExecuteActionInstanceBuilder
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 instanceActionInstanceExecutionResult
execute()
Executes the action instanceString
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 instanceExecuteActionInstanceBuilder
payload(Map<String,Object> payload)
Set the payload of the action to be used for storing the form instance or executing the botExecuteActionInstanceBuilder
scopeDefinitionId(String scopeDefinitionId)
Set the scope definition id of the action instanceExecuteActionInstanceBuilder
scopeId(String scopeId)
Set the scope id of the action instanceExecuteActionInstanceBuilder
scopeType(String scopeType)
Set the scope type of the action instanceExecuteActionInstanceBuilder
subScopeId(String subScopeId)
Sets the sub scope id of the action instanceExecuteActionInstanceBuilder
tenantId(String tenantId)
Set the tenantId of process instance
-
-
-
Field Detail
-
actionRuntimeService
protected ActionRuntimeServiceImpl actionRuntimeService
-
actionInstanceId
protected String actionInstanceId
-
actionDefinitionId
protected String actionDefinitionId
-
actionDefinitionKey
protected String actionDefinitionKey
-
name
protected String name
-
scopeId
protected String scopeId
-
subScopeId
protected String subScopeId
-
scopeType
protected String scopeType
-
scopeDefinitionId
protected String scopeDefinitionId
-
tenantId
protected String tenantId
-
-
Constructor Detail
-
ExecuteActionInstanceBuilderImpl
public ExecuteActionInstanceBuilderImpl(ActionRuntimeServiceImpl actionRuntimeService)
-
-
Method Detail
-
actionInstanceId
public ExecuteActionInstanceBuilder actionInstanceId(String actionInstanceId)
Description copied from interface:ExecuteActionInstanceBuilder
Set the id of the action instance- Specified by:
actionInstanceId
in interfaceExecuteActionInstanceBuilder
-
actionDefinitionId
public ExecuteActionInstanceBuilder actionDefinitionId(String actionDefinitionId)
Description copied from interface:ExecuteActionInstanceBuilder
Set the id of the action definition- Specified by:
actionDefinitionId
in interfaceExecuteActionInstanceBuilder
-
actionDefinitionKey
public ExecuteActionInstanceBuilder actionDefinitionKey(String actionDefinitionKey)
Description copied from interface:ExecuteActionInstanceBuilder
Set the key of the action definition, latest version of the action definition with the given key. If actionDefinitionId was set this will be ignored- Specified by:
actionDefinitionKey
in interfaceExecuteActionInstanceBuilder
-
name
public ExecuteActionInstanceBuilder name(String name)
Description copied from interface:ExecuteActionInstanceBuilder
Set the name of the action instance- Specified by:
name
in interfaceExecuteActionInstanceBuilder
-
scopeId
public ExecuteActionInstanceBuilder scopeId(String scopeId)
Description copied from interface:ExecuteActionInstanceBuilder
Set the scope id of the action instance- Specified by:
scopeId
in interfaceExecuteActionInstanceBuilder
-
subScopeId
public ExecuteActionInstanceBuilder subScopeId(String subScopeId)
Description copied from interface:ExecuteActionInstanceBuilder
Sets the sub scope id of the action instance- Specified by:
subScopeId
in interfaceExecuteActionInstanceBuilder
-
scopeType
public ExecuteActionInstanceBuilder scopeType(String scopeType)
Description copied from interface:ExecuteActionInstanceBuilder
Set the scope type of the action instance- Specified by:
scopeType
in interfaceExecuteActionInstanceBuilder
-
scopeDefinitionId
public ExecuteActionInstanceBuilder scopeDefinitionId(String scopeDefinitionId)
Description copied from interface:ExecuteActionInstanceBuilder
Set the scope definition id of the action instance- Specified by:
scopeDefinitionId
in interfaceExecuteActionInstanceBuilder
-
payload
public ExecuteActionInstanceBuilder payload(Map<String,Object> payload)
Description copied from interface:ExecuteActionInstanceBuilder
Set the payload of the action to be used for storing the form instance or executing the bot- Specified by:
payload
in interfaceExecuteActionInstanceBuilder
-
tenantId
public ExecuteActionInstanceBuilder tenantId(String tenantId)
Description copied from interface:ExecuteActionInstanceBuilder
Set the tenantId of process instance- Specified by:
tenantId
in interfaceExecuteActionInstanceBuilder
-
execute
public ActionInstanceExecutionResult execute()
Description copied from interface:ExecuteActionInstanceBuilder
Executes the action instance- Specified by:
execute
in interfaceExecuteActionInstanceBuilder
-
getActionRuntimeService
public ActionRuntimeService getActionRuntimeService()
-
getActionInstanceId
public String getActionInstanceId()
-
getActionDefinitionId
public String getActionDefinitionId()
-
getActionDefinitionKey
public String getActionDefinitionKey()
-
getName
public String getName()
-
getScopeId
public String getScopeId()
-
getSubScopeId
public String getSubScopeId()
-
getScopeType
public String getScopeType()
-
getScopeDefinitionId
public String getScopeDefinitionId()
-
getTenantId
public String getTenantId()
-
-