Class DelegateCaseExecutionFake
java.lang.Object
org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
org.camunda.community.mockito.delegate.VariableScopeFake<T>
org.camunda.community.mockito.delegate.DelegateCaseExecutionFake
- 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.core.variable.event.VariableEventDispatcher
public class DelegateCaseExecutionFake
extends VariableScopeFake<T>
implements org.camunda.bpm.engine.delegate.DelegateCaseExecution
- See Also:
-
Field Summary
FieldsFields inherited from class org.camunda.community.mockito.delegate.VariableScopeFake
variableInstanceFactory, variableStoreFields inherited from class org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
cachedElContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.camunda.bpm.model.cmmn.instance.CmmnElementorg.camunda.bpm.model.cmmn.CmmnModelInstancegetId()org.camunda.bpm.engine.ProcessEngineorg.camunda.bpm.engine.ProcessEngineServicesbooleanisActive()booleanbooleanisClosed()booleanbooleanbooleanbooleanisFailed()booleanbooleantoString()withActivityId(String activityId) withActivityName(String activityName) withBusinessKey(String businessKey) withCaseBusinessKey(String caseBusinessKey) withCaseDefinitionId(String caseDefinitionId) withCaseExecutionState(org.camunda.bpm.engine.impl.cmmn.execution.CaseExecutionState caseExecutionState) withCaseInstanceId(String caseInstanceId) withEventName(String eventName) withParentId(String parentId) withProcessEngine(org.camunda.bpm.engine.ProcessEngine processEngine) withProcessEngineServices(org.camunda.bpm.engine.ProcessEngineServices processEngineServices) withTenantId(String tenantId) Methods inherited from class org.camunda.community.mockito.delegate.VariableScopeFake
getParentVariableScope, getVariableInstanceFactory, getVariableInstanceLifecycleListeners, getVariableScopeKey, getVariableStore, withVariable, withVariable, withVariableLocal, withVariableLocal, withVariables, withVariablesLocalMethods inherited from class org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
collectVariableNames, collectVariables, dispatchEvent, 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, setVariablesLocalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.delegate.ProcessEngineServicesAware
getProcessEngine, getProcessEngineServicesMethods inherited from interface org.camunda.bpm.engine.delegate.VariableScope
getVariable, getVariableLocal, getVariableLocalTyped, getVariableLocalTyped, getVariableNames, getVariableNamesLocal, getVariables, getVariableScopeKey, getVariablesLocal, getVariablesLocalTyped, getVariablesLocalTyped, getVariablesTyped, getVariablesTyped, getVariableTyped, getVariableTyped, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setVariable, setVariableLocal, setVariables, setVariablesLocal
-
Field Details
-
processEngineServicesAwareFake
-
-
Constructor Details
-
DelegateCaseExecutionFake
public DelegateCaseExecutionFake() -
DelegateCaseExecutionFake
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceorg.camunda.bpm.engine.delegate.BaseDelegateExecution- Specified by:
getIdin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withId
-
getCaseInstanceId
- Specified by:
getCaseInstanceIdin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withCaseInstanceId
-
getEventName
- Specified by:
getEventNamein interfaceorg.camunda.bpm.engine.delegate.BaseDelegateExecution- Specified by:
getEventNamein interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withEventName
-
getBusinessKey
- Specified by:
getBusinessKeyin interfaceorg.camunda.bpm.engine.delegate.BaseDelegateExecution
-
withBusinessKey
-
getCaseBusinessKey
- Specified by:
getCaseBusinessKeyin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withCaseBusinessKey
-
getCaseDefinitionId
- Specified by:
getCaseDefinitionIdin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withCaseDefinitionId
-
getParentId
- Specified by:
getParentIdin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withParentId
-
getActivityId
- Specified by:
getActivityIdin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withActivityId
-
getActivityName
- Specified by:
getActivityNamein interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withActivityName
-
getTenantId
- Specified by:
getTenantIdin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withTenantId
-
isAvailable
public boolean isAvailable()- Specified by:
isAvailablein interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
isDisabled
public boolean isDisabled()- Specified by:
isDisabledin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
isSuspended
public boolean isSuspended()- Specified by:
isSuspendedin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
isTerminated
public boolean isTerminated()- Specified by:
isTerminatedin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
isCompleted
public boolean isCompleted()- Specified by:
isCompletedin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
isFailed
public boolean isFailed()- Specified by:
isFailedin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withCaseExecutionState
public DelegateCaseExecutionFake withCaseExecutionState(org.camunda.bpm.engine.impl.cmmn.execution.CaseExecutionState caseExecutionState) -
getCmmnModelInstance
public org.camunda.bpm.model.cmmn.CmmnModelInstance getCmmnModelInstance()- Specified by:
getCmmnModelInstancein interfaceorg.camunda.bpm.engine.delegate.CmmnModelExecutionContext
-
getCmmnModelElementInstance
public org.camunda.bpm.model.cmmn.instance.CmmnElement getCmmnModelElementInstance()- Specified by:
getCmmnModelElementInstancein interfaceorg.camunda.bpm.engine.delegate.CmmnModelExecutionContext
-
toString
-
getProcessEngineServices
public org.camunda.bpm.engine.ProcessEngineServices getProcessEngineServices()- Specified by:
getProcessEngineServicesin interfaceorg.camunda.bpm.engine.delegate.ProcessEngineServicesAware
-
withProcessEngineServices
public DelegateCaseExecutionFake withProcessEngineServices(org.camunda.bpm.engine.ProcessEngineServices processEngineServices) -
getProcessEngine
public org.camunda.bpm.engine.ProcessEngine getProcessEngine()- Specified by:
getProcessEnginein interfaceorg.camunda.bpm.engine.delegate.ProcessEngineServicesAware
-
withProcessEngine
public DelegateCaseExecutionFake withProcessEngine(org.camunda.bpm.engine.ProcessEngine processEngine)
-