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 Details

  • Constructor Details

    • DelegateCaseExecutionFake

      public DelegateCaseExecutionFake()
    • DelegateCaseExecutionFake

      public DelegateCaseExecutionFake(String id)
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface org.camunda.bpm.engine.delegate.BaseDelegateExecution
      Specified by:
      getId in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • withId

      public DelegateCaseExecutionFake withId(String id)
    • getCaseInstanceId

      public String getCaseInstanceId()
      Specified by:
      getCaseInstanceId in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • withCaseInstanceId

      public DelegateCaseExecutionFake withCaseInstanceId(String caseInstanceId)
    • getEventName

      public String getEventName()
      Specified by:
      getEventName in interface org.camunda.bpm.engine.delegate.BaseDelegateExecution
      Specified by:
      getEventName in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • withEventName

      public DelegateCaseExecutionFake withEventName(String eventName)
    • getBusinessKey

      public String getBusinessKey()
      Specified by:
      getBusinessKey in interface org.camunda.bpm.engine.delegate.BaseDelegateExecution
    • withBusinessKey

      public DelegateCaseExecutionFake withBusinessKey(String businessKey)
    • getCaseBusinessKey

      public String getCaseBusinessKey()
      Specified by:
      getCaseBusinessKey in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • withCaseBusinessKey

      public DelegateCaseExecutionFake withCaseBusinessKey(String caseBusinessKey)
    • getCaseDefinitionId

      public String getCaseDefinitionId()
      Specified by:
      getCaseDefinitionId in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • withCaseDefinitionId

      public DelegateCaseExecutionFake withCaseDefinitionId(String caseDefinitionId)
    • getParentId

      public String getParentId()
      Specified by:
      getParentId in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • withParentId

      public DelegateCaseExecutionFake withParentId(String parentId)
    • getActivityId

      public String getActivityId()
      Specified by:
      getActivityId in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • withActivityId

      public DelegateCaseExecutionFake withActivityId(String activityId)
    • getActivityName

      public String getActivityName()
      Specified by:
      getActivityName in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • withActivityName

      public DelegateCaseExecutionFake withActivityName(String activityName)
    • getTenantId

      public String getTenantId()
      Specified by:
      getTenantId in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • withTenantId

      public DelegateCaseExecutionFake withTenantId(String tenantId)
    • isAvailable

      public boolean isAvailable()
      Specified by:
      isAvailable in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • isDisabled

      public boolean isDisabled()
      Specified by:
      isDisabled in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • isSuspended

      public boolean isSuspended()
      Specified by:
      isSuspended in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • isTerminated

      public boolean isTerminated()
      Specified by:
      isTerminated in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • isCompleted

      public boolean isCompleted()
      Specified by:
      isCompleted in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • isFailed

      public boolean isFailed()
      Specified by:
      isFailed in interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
    • isClosed

      public boolean isClosed()
      Specified by:
      isClosed in interface org.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:
      getCmmnModelInstance in interface org.camunda.bpm.engine.delegate.CmmnModelExecutionContext
    • getCmmnModelElementInstance

      public org.camunda.bpm.model.cmmn.instance.CmmnElement getCmmnModelElementInstance()
      Specified by:
      getCmmnModelElementInstance in interface org.camunda.bpm.engine.delegate.CmmnModelExecutionContext
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getProcessEngineServices

      public org.camunda.bpm.engine.ProcessEngineServices getProcessEngineServices()
      Specified by:
      getProcessEngineServices in interface org.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:
      getProcessEngine in interface org.camunda.bpm.engine.delegate.ProcessEngineServicesAware
    • withProcessEngine

      public DelegateCaseExecutionFake withProcessEngine(org.camunda.bpm.engine.ProcessEngine processEngine)