Class DelegateCaseExecutionFake
- java.lang.Object
-
- org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
-
- org.camunda.bpm.extension.mockito.delegate.VariableScopeFake<T>
-
- org.camunda.bpm.extension.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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessEngineServicesAwareFakeprocessEngineServicesAwareFake-
Fields inherited from class org.camunda.bpm.extension.mockito.delegate.VariableScopeFake
variableInstanceFactory, variableStore
-
-
Constructor Summary
Constructors Constructor Description DelegateCaseExecutionFake()DelegateCaseExecutionFake(String id)
-
Method Summary
-
Methods inherited from class org.camunda.bpm.extension.mockito.delegate.VariableScopeFake
getParentVariableScope, getVariableInstanceFactory, getVariableInstanceLifecycleListeners, getVariableScopeKey, getVariableStore, withVariable, withVariable, withVariableLocal, withVariableLocal, withVariables, withVariablesLocal
-
Methods 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, setVariableLocal, setVariableLocal, setVariables, 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.delegate.ProcessEngineServicesAware
getProcessEngine, getProcessEngineServices
-
Methods 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 Detail
-
processEngineServicesAwareFake
protected final ProcessEngineServicesAwareFake processEngineServicesAwareFake
-
-
Constructor Detail
-
DelegateCaseExecutionFake
public DelegateCaseExecutionFake()
-
DelegateCaseExecutionFake
public DelegateCaseExecutionFake(String id)
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceorg.camunda.bpm.engine.delegate.BaseDelegateExecution- Specified by:
getIdin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withId
public DelegateCaseExecutionFake withId(String id)
-
getCaseInstanceId
public String getCaseInstanceId()
- Specified by:
getCaseInstanceIdin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withCaseInstanceId
public DelegateCaseExecutionFake withCaseInstanceId(String caseInstanceId)
-
getEventName
public String getEventName()
- Specified by:
getEventNamein interfaceorg.camunda.bpm.engine.delegate.BaseDelegateExecution- Specified by:
getEventNamein interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withEventName
public DelegateCaseExecutionFake withEventName(String eventName)
-
getBusinessKey
public String getBusinessKey()
- Specified by:
getBusinessKeyin interfaceorg.camunda.bpm.engine.delegate.BaseDelegateExecution
-
withBusinessKey
public DelegateCaseExecutionFake withBusinessKey(String businessKey)
-
getCaseBusinessKey
public String getCaseBusinessKey()
- Specified by:
getCaseBusinessKeyin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withCaseBusinessKey
public DelegateCaseExecutionFake withCaseBusinessKey(String caseBusinessKey)
-
getCaseDefinitionId
public String getCaseDefinitionId()
- Specified by:
getCaseDefinitionIdin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withCaseDefinitionId
public DelegateCaseExecutionFake withCaseDefinitionId(String caseDefinitionId)
-
getParentId
public String getParentId()
- Specified by:
getParentIdin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withParentId
public DelegateCaseExecutionFake withParentId(String parentId)
-
getActivityId
public String getActivityId()
- Specified by:
getActivityIdin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withActivityId
public DelegateCaseExecutionFake withActivityId(String activityId)
-
getActivityName
public String getActivityName()
- Specified by:
getActivityNamein interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withActivityName
public DelegateCaseExecutionFake withActivityName(String activityName)
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceorg.camunda.bpm.engine.delegate.DelegateCaseExecution
-
withTenantId
public DelegateCaseExecutionFake withTenantId(String tenantId)
-
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
-
getProcessEngineServices
public org.camunda.bpm.engine.ProcessEngineServices getProcessEngineServices()
- Specified by:
getProcessEngineServicesin interfaceorg.camunda.bpm.engine.delegate.ProcessEngineServicesAware
-
withProcessEngineServices
public T 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 T withProcessEngine(org.camunda.bpm.engine.ProcessEngine processEngine)
-
-