Class PlanItemEvaluationResult
java.lang.Object
org.flowable.cmmn.engine.impl.agenda.PlanItemEvaluationResult
This objects holds the result from a loop through a list of plan items evaluating their entry criteria, repetition rule and activation.
- Author:
- Micha Kiener
-
Constructor Summary
ConstructorsConstructorDescriptionPlanItemEvaluationResult
(List<PlanItemInstanceEntity> allChildPlanItemInstances) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildPlanItemInstance
(PlanItemInstanceEntity planItemInstanceEntity) boolean
int
boolean
hasCompletedPlanItemInstance
(PlanItemInstanceEntity planItemInstance) Returns true, if the given plan item instance has at least one instance in completed state (only possible of course for repetition based plan items).boolean
void
boolean
void
-
Constructor Details
-
PlanItemEvaluationResult
public PlanItemEvaluationResult() -
PlanItemEvaluationResult
-
-
Method Details
-
increaseActiveChildren
public void increaseActiveChildren() -
addChildPlanItemInstance
-
markCriteriaChanged
public void markCriteriaChanged() -
getActiveChildren
public int getActiveChildren() -
isCriteriaChanged
public boolean isCriteriaChanged() -
hasNewChildPlanItemInstances
public boolean hasNewChildPlanItemInstances() -
getNewChildPlanItemInstances
-
criteriaChangedOrNewActiveChildren
public boolean criteriaChangedOrNewActiveChildren() -
getAllChildPlanItemInstances
-
hasCompletedPlanItemInstance
Returns true, if the given plan item instance has at least one instance in completed state (only possible of course for repetition based plan items).- Parameters:
planItemInstance
- the plan item instance to check for a completed instance of the same plan item- Returns:
- true, if a completed instance was found, false otherwise
-