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.StringactionDefinitionIdprotected java.lang.StringactionDefinitionKeyprotected java.lang.StringactionInstanceIdprotected ActionRuntimeServiceImplactionRuntimeServiceprotected java.lang.Stringnameprotected java.util.Map<java.lang.String,java.lang.Object>payloadprotected java.lang.StringscopeDefinitionIdprotected java.lang.StringscopeIdprotected java.lang.StringscopeTypeprotected java.lang.StringsubScopeIdprotected java.lang.StringtenantId -
Constructor Summary
Constructors Constructor Description ExecuteActionInstanceBuilderImpl(ActionRuntimeServiceImpl actionRuntimeService) -
Method Summary
Modifier and Type Method Description ExecuteActionInstanceBuilderactionDefinitionId(java.lang.String actionDefinitionId)Set the id of the action definitionExecuteActionInstanceBuilderactionDefinitionKey(java.lang.String actionDefinitionKey)Set the key of the action definition, latest version of the action definition with the given key.ExecuteActionInstanceBuilderactionInstanceId(java.lang.String actionInstanceId)Set the id of the action instanceActionInstanceExecutionResultexecute()Executes the action instancejava.lang.StringgetActionDefinitionId()java.lang.StringgetActionDefinitionKey()java.lang.StringgetActionInstanceId()ActionRuntimeServicegetActionRuntimeService()java.lang.StringgetName()java.util.Map<java.lang.String,java.lang.Object>getPayload()java.lang.StringgetScopeDefinitionId()java.lang.StringgetScopeId()java.lang.StringgetScopeType()java.lang.StringgetSubScopeId()java.lang.StringgetTenantId()ExecuteActionInstanceBuildername(java.lang.String name)Set the name of the action instanceExecuteActionInstanceBuilderpayload(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 botExecuteActionInstanceBuilderscopeDefinitionId(java.lang.String scopeDefinitionId)Set the scope definition id of the action instanceExecuteActionInstanceBuilderscopeId(java.lang.String scopeId)Set the scope id of the action instanceExecuteActionInstanceBuilderscopeType(java.lang.String scopeType)Set the scope type of the action instanceExecuteActionInstanceBuildersubScopeId(java.lang.String subScopeId)Sets the sub scope id of the action instanceExecuteActionInstanceBuildertenantId(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:ExecuteActionInstanceBuilderSet the id of the action instance- Specified by:
actionInstanceIdin interfaceExecuteActionInstanceBuilder
-
actionDefinitionId
Description copied from interface:ExecuteActionInstanceBuilderSet the id of the action definition- Specified by:
actionDefinitionIdin interfaceExecuteActionInstanceBuilder
-
actionDefinitionKey
Description copied from interface:ExecuteActionInstanceBuilderSet 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:
actionDefinitionKeyin interfaceExecuteActionInstanceBuilder
-
name
Description copied from interface:ExecuteActionInstanceBuilderSet the name of the action instance- Specified by:
namein interfaceExecuteActionInstanceBuilder
-
scopeId
Description copied from interface:ExecuteActionInstanceBuilderSet the scope id of the action instance- Specified by:
scopeIdin interfaceExecuteActionInstanceBuilder
-
subScopeId
Description copied from interface:ExecuteActionInstanceBuilderSets the sub scope id of the action instance- Specified by:
subScopeIdin interfaceExecuteActionInstanceBuilder
-
scopeType
Description copied from interface:ExecuteActionInstanceBuilderSet the scope type of the action instance- Specified by:
scopeTypein interfaceExecuteActionInstanceBuilder
-
scopeDefinitionId
Description copied from interface:ExecuteActionInstanceBuilderSet the scope definition id of the action instance- Specified by:
scopeDefinitionIdin interfaceExecuteActionInstanceBuilder
-
payload
public ExecuteActionInstanceBuilder payload(java.util.Map<java.lang.String,java.lang.Object> payload)Description copied from interface:ExecuteActionInstanceBuilderSet the payload of the action to be used for storing the form instance or executing the bot- Specified by:
payloadin interfaceExecuteActionInstanceBuilder
-
tenantId
Description copied from interface:ExecuteActionInstanceBuilderSet the tenantId of process instance- Specified by:
tenantIdin interfaceExecuteActionInstanceBuilder
-
execute
Description copied from interface:ExecuteActionInstanceBuilderExecutes the action instance- Specified by:
executein 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()
-