Class CaseExecutionFake

java.lang.Object
org.camunda.community.mockito.cases.CaseExecutionFake
All Implemented Interfaces:
org.camunda.bpm.engine.runtime.CaseExecution

public class CaseExecutionFake extends Object implements org.camunda.bpm.engine.runtime.CaseExecution
  • Constructor Details

    • CaseExecutionFake

      public CaseExecutionFake(String id, String caseInstanceId, String caseDefinitionId, String activityId, String activityName, String activityType, String activityDescription, String parentId, String tenantId, boolean disabled, boolean terminated, boolean required, boolean enabled, boolean active, boolean available)
  • Method Details

    • builder

    • getId

      public String getId()
      Specified by:
      getId in interface org.camunda.bpm.engine.runtime.CaseExecution
    • getCaseInstanceId

      public String getCaseInstanceId()
      Specified by:
      getCaseInstanceId in interface org.camunda.bpm.engine.runtime.CaseExecution
    • getCaseDefinitionId

      public String getCaseDefinitionId()
      Specified by:
      getCaseDefinitionId in interface org.camunda.bpm.engine.runtime.CaseExecution
    • getActivityId

      public String getActivityId()
      Specified by:
      getActivityId in interface org.camunda.bpm.engine.runtime.CaseExecution
    • getActivityName

      public String getActivityName()
      Specified by:
      getActivityName in interface org.camunda.bpm.engine.runtime.CaseExecution
    • getActivityType

      public String getActivityType()
      Specified by:
      getActivityType in interface org.camunda.bpm.engine.runtime.CaseExecution
    • getActivityDescription

      public String getActivityDescription()
      Specified by:
      getActivityDescription in interface org.camunda.bpm.engine.runtime.CaseExecution
    • getParentId

      public String getParentId()
      Specified by:
      getParentId in interface org.camunda.bpm.engine.runtime.CaseExecution
    • isRequired

      public boolean isRequired()
      Specified by:
      isRequired in interface org.camunda.bpm.engine.runtime.CaseExecution
    • isAvailable

      public boolean isAvailable()
      Specified by:
      isAvailable in interface org.camunda.bpm.engine.runtime.CaseExecution
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface org.camunda.bpm.engine.runtime.CaseExecution
    • isEnabled

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

      public boolean isDisabled()
      Specified by:
      isDisabled in interface org.camunda.bpm.engine.runtime.CaseExecution
    • isTerminated

      public boolean isTerminated()
      Specified by:
      isTerminated in interface org.camunda.bpm.engine.runtime.CaseExecution
    • getTenantId

      public String getTenantId()
      Specified by:
      getTenantId in interface org.camunda.bpm.engine.runtime.CaseExecution
    • setDisabled

      public void setDisabled(boolean disabled)
    • setTerminated

      public void setTerminated(boolean terminated)
    • setRequired

      public void setRequired(boolean required)
    • setEnabled

      public void setEnabled(boolean enabled)
    • setActive

      public void setActive(boolean active)
    • setAvailable

      public void setAvailable(boolean available)
    • toString

      public String toString()
      Overrides:
      toString in class Object