Class CaseInstanceFake

  • All Implemented Interfaces:
    org.camunda.bpm.engine.runtime.CaseExecution, org.camunda.bpm.engine.runtime.CaseInstance

    public class CaseInstanceFake
    extends Object
    implements org.camunda.bpm.engine.runtime.CaseInstance
    • Constructor Detail

      • CaseInstanceFake

        public CaseInstanceFake​(boolean disabled,
                                boolean terminated,
                                boolean completed,
                                boolean required,
                                boolean enabled,
                                boolean active,
                                boolean available,
                                String businessKey,
                                String id,
                                String caseInstanceId,
                                String caseDefinitionId,
                                String activityId,
                                String activityName,
                                String activityType,
                                String parentId,
                                String activityDescription,
                                String tenantId,
                                org.camunda.bpm.engine.variable.VariableMap variables)
    • Method Detail

      • getBusinessKey

        public String getBusinessKey()
        Specified by:
        getBusinessKey in interface org.camunda.bpm.engine.runtime.CaseInstance
      • isCompleted

        public boolean isCompleted()
        Specified by:
        isCompleted in interface org.camunda.bpm.engine.runtime.CaseInstance
      • 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)
      • setCompleted

        public void setCompleted​(boolean completed)
      • setRequired

        public void setRequired​(boolean required)
      • setEnabled

        public void setEnabled​(boolean enabled)
      • setActive

        public void setActive​(boolean active)
      • setAvailable

        public void setAvailable​(boolean available)