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