Class ResumePlanItemInstanceOperation
java.lang.Object
org.flowable.cmmn.engine.impl.agenda.operation.CmmnOperation
org.flowable.cmmn.engine.impl.agenda.operation.AbstractPlanItemInstanceOperation
org.flowable.cmmn.engine.impl.agenda.operation.AbstractChangePlanItemInstanceStateOperation
org.flowable.cmmn.engine.impl.agenda.operation.ResumePlanItemInstanceOperation
- All Implemented Interfaces:
Runnable
- Author:
- Tijs Rademakers
-
Field Summary
Fields inherited from class org.flowable.cmmn.engine.impl.agenda.operation.AbstractPlanItemInstanceOperation
planItemInstanceEntityFields inherited from class org.flowable.cmmn.engine.impl.agenda.operation.CmmnOperation
commandContext, isNoop -
Constructor Summary
ConstructorsConstructorDescriptionResumePlanItemInstanceOperation(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity) -
Method Summary
Modifier and TypeMethodDescriptionbooleanOverwrite this default implemented hook, if the operation should be aborted on a void transition which might be the case, if the old and new state will be the same.protected voidbooleanisStateNotChanged(String oldState, String newState) Methods inherited from class org.flowable.cmmn.engine.impl.agenda.operation.AbstractChangePlanItemInstanceStateOperation
createPlanItemLifeCycleEvent, onPlanned, run, toStringMethods inherited from class org.flowable.cmmn.engine.impl.agenda.operation.AbstractPlanItemInstanceOperation
getCaseInstanceId, getCurrentTime, getPlanItemInstanceEntity, removeSentryRelatedData, setPlanItemInstanceEntityMethods inherited from class org.flowable.cmmn.engine.impl.agenda.operation.CmmnOperation
childPlanItemInstanceForPlanItemExists, createPlanItemInstanceIfNeeded, createPlanItemInstancesForNewOrReactivatedStage, evaluateReactivationCondition, evaluateReactivationRule, getCaseInstance, getPlanItemCreationOrReactivationType, getPlanModel, getStage, isEventListenerWithAvailableCondition, isNoop, isStage, markAsNoop, setRepetitionCounter
-
Constructor Details
-
ResumePlanItemInstanceOperation
public ResumePlanItemInstanceOperation(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity)
-
-
Method Details
-
getLifeCycleTransition
- Specified by:
getLifeCycleTransitionin classAbstractChangePlanItemInstanceStateOperation
-
getNewState
- Specified by:
getNewStatein classAbstractChangePlanItemInstanceStateOperation
-
internalExecute
protected void internalExecute()- Specified by:
internalExecutein classAbstractChangePlanItemInstanceStateOperation
-
isStateNotChanged
- Overrides:
isStateNotChangedin classAbstractChangePlanItemInstanceStateOperation
-
abortOperationIfNewStateEqualsOldState
public boolean abortOperationIfNewStateEqualsOldState()Description copied from class:AbstractChangePlanItemInstanceStateOperationOverwrite this default implemented hook, if the operation should be aborted on a void transition which might be the case, if the old and new state will be the same.- Overrides:
abortOperationIfNewStateEqualsOldStatein classAbstractChangePlanItemInstanceStateOperation- Returns:
- true, if this operation should be aborted, if the new plan item state is the same as the old one, false, if the operation is to be executed in any case
-
getOperationName
- Specified by:
getOperationNamein classAbstractChangePlanItemInstanceStateOperation
-