public class CaseReactivationBuilderImpl extends Object implements CaseReactivationBuilder
| Modifier and Type | Field and Description |
|---|---|
protected String |
caseInstanceId |
protected CommandExecutor |
commandExecutor |
protected Map<String,Object> |
transientVariables |
protected Map<String,Object> |
variables |
| Constructor and Description |
|---|
CaseReactivationBuilderImpl(CommandExecutor commandExecutor,
String caseInstanceId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCaseInstanceId() |
Map<String,Object> |
getTransientVariables() |
Map<String,Object> |
getVariables() |
boolean |
hasTransientVariables() |
boolean |
hasVariables() |
CaseInstance |
reactivate()
After having entered all necessary information for the reactivation, this method actually triggers the reactivation and returns the reactivated case
instance from the runtime.
|
CaseReactivationBuilder |
transientVariable(String name,
Object value)
Adds a transient variable to the case before triggering the reactivation event which is available only during that first transaction.
|
CaseReactivationBuilder |
transientVariables(Map<String,Object> variables)
Adds a map of transient variables to the case before triggering the reactivation event which are available only during that first transaction.
|
CaseReactivationBuilder |
variable(String name,
Object value)
Adds a variable to be added to the case before triggering the reactivation event.
|
CaseReactivationBuilder |
variables(Map<String,Object> variables)
Adds the map of variables to the case before triggering the reactivation event.
|
protected final CommandExecutor commandExecutor
protected final String caseInstanceId
public CaseReactivationBuilderImpl(CommandExecutor commandExecutor, String caseInstanceId)
public String getCaseInstanceId()
public boolean hasVariables()
public boolean hasTransientVariables()
public CaseReactivationBuilder variable(String name, Object value)
CaseReactivationBuildervariable in interface CaseReactivationBuildername - the name of the variable to be addedvalue - the value of the variable to be addedpublic CaseReactivationBuilder variables(Map<String,Object> variables)
CaseReactivationBuildervariables in interface CaseReactivationBuildervariables - the map of variables to be added to the casepublic CaseReactivationBuilder transientVariable(String name, Object value)
CaseReactivationBuildertransientVariable in interface CaseReactivationBuildername - the name of the variable to be addedvalue - the value of the variable to be addedpublic CaseReactivationBuilder transientVariables(Map<String,Object> variables)
CaseReactivationBuildertransientVariables in interface CaseReactivationBuildervariables - the map of variables to be added to the casepublic CaseInstance reactivate()
CaseReactivationBuilderreactivate in interface CaseReactivationBuilderCopyright © 2023 Flowable. All rights reserved.