public class InjectedPlanItemInstanceBuilderImpl extends Object implements InjectedPlanItemInstanceBuilder
| Modifier and Type | Field and Description |
|---|---|
protected String |
caseDefinitionId |
protected String |
caseInstanceId |
protected CommandExecutor |
commandExecutor |
protected String |
elementId |
protected String |
name |
protected String |
stagePlanItemInstanceId |
| Constructor and Description |
|---|
InjectedPlanItemInstanceBuilderImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
InjectedPlanItemInstanceBuilder |
caseDefinitionId(String caseDefinitionId)
The id of the case definition from which the referenced plan item model should be taken as the model for the new plan item to be created dynamically.
|
PlanItemInstance |
createInCase(String caseInstanceId)
Create the newly setup plan item, add it to the parent running case instance and plan it for activation and further processing in the case engine.
|
PlanItemInstance |
createInStage(String stagePlanItemInstanceId)
Create the newly setup plan item, add it to the parent running stage and plan it for activation and further processing in the case engine.
|
InjectedPlanItemInstanceBuilder |
elementId(String elementId)
The id of the referenced element within the case model to be used as the base line for the new dynamic plan item to be created.
|
String |
getCaseDefinitionId() |
String |
getCaseInstanceId() |
String |
getElementId() |
String |
getName() |
String |
getStagePlanItemInstanceId() |
boolean |
injectInCase() |
boolean |
injectInStage() |
InjectedPlanItemInstanceBuilder |
name(String name)
The explicit name for the new plan item to be created, if this is not set, the name of the referenced element is taken instead.
|
protected void |
validateData() |
protected final CommandExecutor commandExecutor
protected String stagePlanItemInstanceId
protected String caseInstanceId
protected String caseDefinitionId
protected String elementId
protected String name
public InjectedPlanItemInstanceBuilderImpl(CommandExecutor commandExecutor)
public InjectedPlanItemInstanceBuilder name(String name)
InjectedPlanItemInstanceBuildername in interface InjectedPlanItemInstanceBuildername - the explicit name to be used for the new plan item, which supersedes the one from the referenced plan item modelpublic InjectedPlanItemInstanceBuilder caseDefinitionId(String caseDefinitionId)
InjectedPlanItemInstanceBuildercaseDefinitionId in interface InjectedPlanItemInstanceBuildercaseDefinitionId - the id of the case definition where the referenced plan item model is taken frompublic InjectedPlanItemInstanceBuilder elementId(String elementId)
InjectedPlanItemInstanceBuilderelementId in interface InjectedPlanItemInstanceBuilderelementId - the id of the referenced plan item element within the case modelpublic PlanItemInstance createInStage(String stagePlanItemInstanceId)
InjectedPlanItemInstanceBuildercreateInStage in interface InjectedPlanItemInstanceBuilderstagePlanItemInstanceId - the id of the running stage plan item instance to inject a new plan item intopublic PlanItemInstance createInCase(String caseInstanceId)
InjectedPlanItemInstanceBuildercreateInCase in interface InjectedPlanItemInstanceBuildercaseInstanceId - the id of the running case instance to inject a new plan item intoprotected void validateData()
public boolean injectInStage()
public boolean injectInCase()
public String getStagePlanItemInstanceId()
public String getCaseInstanceId()
public String getName()
public String getCaseDefinitionId()
public String getElementId()
Copyright © 2023 Flowable. All rights reserved.