Class CaseExecutionEntityFake

java.lang.Object
org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
org.camunda.bpm.engine.impl.core.instance.CoreExecution
org.camunda.bpm.engine.impl.cmmn.execution.CmmnExecution
org.camunda.bpm.engine.impl.cmmn.entity.runtime.CaseExecutionEntity
org.camunda.community.mockito.cases.CaseExecutionEntityFake
All Implemented Interfaces:
Serializable, org.camunda.bpm.engine.delegate.BaseDelegateExecution, org.camunda.bpm.engine.delegate.CmmnModelExecutionContext, org.camunda.bpm.engine.delegate.DelegateCaseExecution, org.camunda.bpm.engine.delegate.ProcessEngineServicesAware, org.camunda.bpm.engine.delegate.VariableScope, org.camunda.bpm.engine.impl.cmmn.execution.CmmnActivityExecution, org.camunda.bpm.engine.impl.cmmn.execution.CmmnCaseInstance, org.camunda.bpm.engine.impl.core.variable.event.VariableEventDispatcher, org.camunda.bpm.engine.impl.core.variable.scope.VariableStore.VariablesProvider<org.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntity>, org.camunda.bpm.engine.impl.db.DbEntity, org.camunda.bpm.engine.impl.db.HasDbReferences, org.camunda.bpm.engine.impl.db.HasDbRevision, org.camunda.bpm.engine.runtime.CaseExecution, org.camunda.bpm.engine.runtime.CaseInstance

public class CaseExecutionEntityFake extends org.camunda.bpm.engine.impl.cmmn.entity.runtime.CaseExecutionEntity
See Also:
  • Field Summary

    Fields inherited from class org.camunda.bpm.engine.impl.cmmn.entity.runtime.CaseExecutionEntity

    activityDescription, activityId, activityName, activityType, caseDefinitionId, caseExecutions, caseInstance, caseInstanceId, caseSentryParts, parent, parentId, revision, sentries, subCaseInstance, subProcessInstance, superCaseExecution, superCaseExecutionId, superExecution, superExecutionId, variableStore

    Fields inherited from class org.camunda.bpm.engine.impl.cmmn.execution.CmmnExecution

    activity, caseDefinition, currentState, entryCriterionSatisfied, LOG, previousState, required, task, variableEventsQueue

    Fields inherited from class org.camunda.bpm.engine.impl.core.instance.CoreExecution

    businessKey, businessKeyWithoutCascade, eventName, eventSource, id, listenerIndex, skipCustomListeners, skipIoMapping, skipSubprocesses, tenantId

    Fields inherited from class org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope

    cachedElContext
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
     
    setState(org.camunda.bpm.engine.impl.cmmn.execution.CaseExecutionState state)
     
     

    Methods inherited from class org.camunda.bpm.engine.impl.cmmn.entity.runtime.CaseExecutionEntity

    addSentryPart, create, createCaseExecution, createSubCaseInstance, createSubCaseInstance, createSubProcessInstance, createSubProcessInstance, createSubProcessInstance, createTask, ensureActivityInitialized, ensureCaseDefinitionInitialized, ensureCaseExecutionsInitialized, ensureCaseExecutionTreeInitialized, ensureCaseInstanceInitialized, ensureCaseSentryPartsInitialized, ensureParentInitialized, ensureSubCaseInstanceInitialized, ensureSubProcessInstanceInitialized, ensureSuperCaseExecutionInitialized, ensureSuperExecutionInstanceInitialized, ensureTaskInitialized, findSentry, fireHistoricCaseActivityInstanceUpdate, forceUpdate, getActivity, getActivityDescription, getActivityId, getActivityName, getActivityProperty, getActivityType, getCaseDefinition, getCaseDefinitionId, getCaseDefinitionTenantId, getCaseExecutions, getCaseExecutionsInternal, getCaseInstance, getCaseInstanceId, getCaseSentryParts, getCmmnModelElementInstance, getCmmnModelInstance, getParent, getParentId, getPersistentState, getProcessEngine, getProcessEngineServices, getReferencedEntitiesIdAndClass, getReferencedEntityIds, getRevision, getRevisionNext, getSentries, getSubCaseInstance, getSubProcessInstance, getSuperCaseExecution, getSuperCaseExecutionId, getSuperExecution, getSuperExecutionId, getTask, getToStringIdentity, getVariableInstanceFactory, getVariableInstanceLifecycleListeners, getVariableStore, isCaseInstanceExecution, isExecutionTreePrefetchEnabled, newCaseExecution, newSentryPart, performOperation, performOperationSync, provideTenantId, provideVariables, provideVariables, remove, setActivity, setCaseDefinition, setCaseInstance, setParent, setRevision, setSubCaseInstance, setSubProcessInstance, setSuperCaseExecution, setSuperCaseExecutionId, setSuperExecution, setSuperExecutionId

    Methods inherited from class org.camunda.bpm.engine.impl.cmmn.execution.CmmnExecution

    addIdIfNotSatisfied, checkAndFireEntryCriteria, checkAndFireExitCriteria, close, collectAffectedSentries, collectAffectedSentriesWithVariableOnParts, collectAllSentries, collectCaseExecutionsInExecutionTree, collectSentryParts, complete, containsIfPartAndExecutionActive, create, createChildExecutions, createIfPart, createOnPart, createSentryPart, createSentryParts, createVariableOnPart, deleteCascade, dispatchEvent, exit, findCaseExecution, fireEntryCriteria, fireExitCriteria, fireIfOnlySentryParts, fireSentries, forceUpdateOnCaseSentryParts, forceUpdateOnSentries, getAffectedSentryParts, getBusinessKey, getCaseBusinessKey, getCurrentState, getParentVariableScope, getPrevious, getPreviousState, getSatisfiedSentries, getSatisfiedSentriesInExecutionTree, getState, getVariableEventQueue, getVariableScopeKey, handleChildTransition, handleVariableTransition, hasVariableWithSameNameInParent, invokeVariableListeners, isActive, isAvailable, isClosed, isCompleted, isDisabled, isEnabled, isEntryCriterionSatisfied, isFailed, isNew, isNotSatisfiedIfPartOnly, isRequired, isSentryPartsSatisfied, isSentrySatisfied, isSuspended, isSuspending, isTerminated, isTerminating, manualComplete, manualStart, occur, parentComplete, parentResume, parentSuspend, parentTerminate, performExit, performParentSuspension, performParentTerminate, performSuspension, performTerminate, queueVariableEvent, reactivate, resetSentries, resetSentryParts, resume, setCurrentState, setPrevious, setRequired, setState, setTask, start, suspend, terminate, triggerChildExecutionsLifecycle

    Methods inherited from class org.camunda.bpm.engine.impl.core.instance.CoreExecution

    getBusinessKeyWithoutCascade, getEventName, getEventSource, getId, getListenerIndex, getTenantId, hasFailedOnEndListeners, invokeListener, isSkipCustomListeners, isSkipIoMappings, isSkipSubprocesses, setBusinessKey, setEventName, setEventSource, setId, setListenerIndex, setSkipCustomListeners, setSkipIoMappings, setSkipSubprocesseses, setTenantId

    Methods inherited from class org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope

    collectVariableNames, collectVariables, getCachedElContext, getSourceActivityVariableScope, getValueFromVariableInstance, getVariable, getVariable, getVariableInstance, getVariableInstanceLocal, getVariableInstancesLocal, getVariableInstancesLocal, getVariableLocal, getVariableLocal, getVariableLocalTyped, getVariableLocalTyped, getVariableNames, getVariableNamesLocal, getVariables, getVariablesLocal, getVariablesLocalTyped, getVariablesLocalTyped, getVariablesTyped, getVariablesTyped, getVariableTyped, getVariableTyped, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, initializeVariableStore, invokeVariableLifecycleListenersCreate, invokeVariableLifecycleListenersCreate, invokeVariableLifecycleListenersDelete, invokeVariableLifecycleListenersDelete, invokeVariableLifecycleListenersUpdate, invokeVariableLifecycleListenersUpdate, removeVariable, removeVariable, removeVariableLocal, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setCachedElContext, setVariable, setVariable, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariableLocal, setVariables, setVariables, setVariablesLocal, setVariablesLocal

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.camunda.bpm.engine.runtime.CaseExecution

    getId, getTenantId, isActive, isAvailable, isDisabled, isEnabled, isRequired, isTerminated

    Methods inherited from interface org.camunda.bpm.engine.runtime.CaseInstance

    getBusinessKey, isCompleted

    Methods inherited from interface org.camunda.bpm.engine.impl.db.DbEntity

    getId, setId

    Methods inherited from interface org.camunda.bpm.engine.delegate.DelegateCaseExecution

    getEventName, getId, getTenantId

    Methods inherited from interface org.camunda.bpm.engine.impl.db.HasDbReferences

    getDependentEntities

    Methods inherited from interface org.camunda.bpm.engine.delegate.VariableScope

    getVariable, getVariableLocal, getVariableLocalTyped, getVariableLocalTyped, getVariableNames, getVariableNamesLocal, getVariables, getVariablesLocal, getVariablesLocalTyped, getVariablesLocalTyped, getVariablesTyped, getVariablesTyped, getVariableTyped, getVariableTyped, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setVariable, setVariableLocal, setVariables, setVariablesLocal
  • Constructor Details

    • CaseExecutionEntityFake

      public CaseExecutionEntityFake(String activityId)
  • Method Details

    • setState

      public CaseExecutionEntityFake setState(org.camunda.bpm.engine.impl.cmmn.execution.CaseExecutionState state)
    • enable

      public void enable()
      Specified by:
      enable in interface org.camunda.bpm.engine.impl.cmmn.execution.CmmnActivityExecution
      Overrides:
      enable in class org.camunda.bpm.engine.impl.cmmn.execution.CmmnExecution
    • disable

      public void disable()
      Specified by:
      disable in interface org.camunda.bpm.engine.impl.cmmn.execution.CmmnActivityExecution
      Overrides:
      disable in class org.camunda.bpm.engine.impl.cmmn.execution.CmmnExecution
    • reenable

      public void reenable()
      Specified by:
      reenable in interface org.camunda.bpm.engine.impl.cmmn.execution.CmmnActivityExecution
      Overrides:
      reenable in class org.camunda.bpm.engine.impl.cmmn.execution.CmmnExecution
    • toString

      public String toString()
      Overrides:
      toString in class org.camunda.bpm.engine.impl.cmmn.entity.runtime.CaseExecutionEntity