public interface PlanItemInstanceEntityBuilder
| Modifier and Type | Method and Description |
|---|---|
PlanItemInstanceEntityBuilder |
addToParent(boolean addToParent)
Set true, if the new plan item instance to be created should be added to its parent, false otherwise.
|
PlanItemInstanceEntityBuilder |
caseDefinitionId(String caseDefinitionId)
Set the id of the case definition this plan item instance is part of.
|
PlanItemInstanceEntityBuilder |
caseInstanceId(String caseInstanceId)
Set the id of the case instance the plan item instance is a direct or indirect child of.
|
PlanItemInstanceEntity |
create()
Checks for all necessary values to be present within the builder, creates a new plan item instance and returns it.
|
PlanItemInstanceEntityBuilder |
derivedCaseDefinitionId(String derivedCaseDefinitionId)
If this plan item is derived from another case definition than it is used in, set the case definition it is taken from using this method.
|
PlanItemInstanceEntityBuilder |
localVariables(Map<String,Object> localVariables)
Optionally add any variables to be set on the new plan item instance as local variables.
|
PlanItemInstanceEntityBuilder |
name(String name)
Optionally override the name for this plan item instance and don't create it based on its plan item model.
|
PlanItemInstanceEntityBuilder |
planItem(org.flowable.cmmn.model.PlanItem planItem)
Set the plan item for the new instance to be based on.
|
PlanItemInstanceEntityBuilder |
silentNameExpressionEvaluation(boolean silentNameExpressionEvaluation)
Invoke this method to suppress any exceptions thrown when evaluating the plan item name expression.
|
PlanItemInstanceEntityBuilder |
stagePlanItemInstance(PlanItemInstance stagePlanItemInstance)
Set the id of the stage plan item instance the new plan item instance is a direct child of.
|
PlanItemInstanceEntityBuilder |
tenantId(String tenantId)
Set the id of the tenant for the new plan item instance.
|
PlanItemInstanceEntityBuilder planItem(org.flowable.cmmn.model.PlanItem planItem)
planItem - the plan item to base the new instance onPlanItemInstanceEntityBuilder name(String name)
name - the optional name to be used (overridden) for this plan item instancePlanItemInstanceEntityBuilder caseDefinitionId(String caseDefinitionId)
caseDefinitionId - the id of the case definition the plan item is a part ofPlanItemInstanceEntityBuilder derivedCaseDefinitionId(String derivedCaseDefinitionId)
derivedCaseDefinitionId - the case definition id from which this plan item is derived fromPlanItemInstanceEntityBuilder caseInstanceId(String caseInstanceId)
caseInstanceId - the id of the case instance the new plan item instance is a part ofPlanItemInstanceEntityBuilder stagePlanItemInstance(PlanItemInstance stagePlanItemInstance)
stagePlanItemInstance - the parent stage instance for the new plan item instancePlanItemInstanceEntityBuilder tenantId(String tenantId)
tenantId - the id of the tenant the new plan item instance belongs toPlanItemInstanceEntityBuilder localVariables(Map<String,Object> localVariables)
localVariables - an optional map of variables to set as local values for the new plan item instancePlanItemInstanceEntityBuilder addToParent(boolean addToParent)
addToParent - true, if the plan item instance should be added to its parentPlanItemInstanceEntityBuilder silentNameExpressionEvaluation(boolean silentNameExpressionEvaluation)
silentNameExpressionEvaluation - true, if the name expression evaluation should ignore any exception thrownPlanItemInstanceEntity create()
Copyright © 2021 Flowable. All rights reserved.