Class SuspendPlanItemInstanceOperation
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.SuspendPlanItemInstanceOperation
- All Implemented Interfaces:
Runnable
-
Field Summary
Fields inherited from class AbstractPlanItemInstanceOperation
planItemInstanceEntityFields inherited from class CmmnOperation
commandContext, isNoop -
Constructor Summary
ConstructorsConstructorDescriptionSuspendPlanItemInstanceOperation(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 AbstractChangePlanItemInstanceStateOperation
createPlanItemLifeCycleEvent, onPlanned, run, toStringMethods inherited from class AbstractPlanItemInstanceOperation
getCaseInstanceId, getCurrentTime, getPlanItemInstanceEntity, removeSentryRelatedData, setPlanItemInstanceEntityMethods inherited from class CmmnOperation
childPlanItemInstanceForPlanItemExists, createPlanItemInstanceIfNeeded, createPlanItemInstancesForNewOrReactivatedStage, evaluateReactivationCondition, evaluateReactivationRule, getCaseInstance, getPlanItemCreationOrReactivationType, getPlanModel, getStage, isEventListenerWithAvailableCondition, isNoop, isStage, markAsNoop, setRepetitionCounter
-
Constructor Details
-
SuspendPlanItemInstanceOperation
public SuspendPlanItemInstanceOperation(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity)
-
-
Method Details
-
getNewState
- Specified by:
getNewStatein classAbstractChangePlanItemInstanceStateOperation
-
getLifeCycleTransition
- Specified by:
getLifeCycleTransitionin 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
-