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
All Methods Instance Methods Concrete Methods 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 Detail
-
actionRuntimeService
protected ActionRuntimeServiceImpl 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 Detail
-
ExecuteActionInstanceBuilderImpl
public ExecuteActionInstanceBuilderImpl(ActionRuntimeServiceImpl actionRuntimeService)
-
-
Method Detail
-
actionInstanceId
public ExecuteActionInstanceBuilder actionInstanceId(java.lang.String actionInstanceId)
Description copied from interface:ExecuteActionInstanceBuilderSet the id of the action instance- Specified by:
actionInstanceIdin interfaceExecuteActionInstanceBuilder
-
actionDefinitionId
public ExecuteActionInstanceBuilder actionDefinitionId(java.lang.String actionDefinitionId)
Description copied from interface:ExecuteActionInstanceBuilderSet the id of the action definition- Specified by:
actionDefinitionIdin interfaceExecuteActionInstanceBuilder
-
actionDefinitionKey
public ExecuteActionInstanceBuilder actionDefinitionKey(java.lang.String 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
public ExecuteActionInstanceBuilder name(java.lang.String name)
Description copied from interface:ExecuteActionInstanceBuilderSet the name of the action instance- Specified by:
namein interfaceExecuteActionInstanceBuilder
-
scopeId
public ExecuteActionInstanceBuilder scopeId(java.lang.String scopeId)
Description copied from interface:ExecuteActionInstanceBuilderSet the scope id of the action instance- Specified by:
scopeIdin interfaceExecuteActionInstanceBuilder
-
subScopeId
public ExecuteActionInstanceBuilder subScopeId(java.lang.String subScopeId)
Description copied from interface:ExecuteActionInstanceBuilderSets the sub scope id of the action instance- Specified by:
subScopeIdin interfaceExecuteActionInstanceBuilder
-
scopeType
public ExecuteActionInstanceBuilder scopeType(java.lang.String scopeType)
Description copied from interface:ExecuteActionInstanceBuilderSet the scope type of the action instance- Specified by:
scopeTypein interfaceExecuteActionInstanceBuilder
-
scopeDefinitionId
public ExecuteActionInstanceBuilder scopeDefinitionId(java.lang.String 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
public ExecuteActionInstanceBuilder tenantId(java.lang.String tenantId)
Description copied from interface:ExecuteActionInstanceBuilderSet the tenantId of process instance- Specified by:
tenantIdin interfaceExecuteActionInstanceBuilder
-
execute
public ActionInstanceExecutionResult execute()
Description copied from interface:ExecuteActionInstanceBuilderExecutes the action instance- Specified by:
executein interfaceExecuteActionInstanceBuilder
-
getActionRuntimeService
public ActionRuntimeService 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()
-
-