Class ProcessInstanceFake

java.lang.Object
org.camunda.community.mockito.process.ProcessInstanceFake
All Implemented Interfaces:
org.camunda.bpm.engine.runtime.Execution, org.camunda.bpm.engine.runtime.ProcessInstance

public class ProcessInstanceFake extends Object implements org.camunda.bpm.engine.runtime.ProcessInstance
  • Method Details

    • builder

    • getProcessDefinitionId

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

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

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

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

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

      public boolean isSuspended()
      Specified by:
      isSuspended in interface org.camunda.bpm.engine.runtime.Execution
      Specified by:
      isSuspended in interface org.camunda.bpm.engine.runtime.ProcessInstance
    • isEnded

      public boolean isEnded()
      Specified by:
      isEnded in interface org.camunda.bpm.engine.runtime.Execution
    • setEnded

      public void setEnded(boolean ended)
    • setSuspended

      public void setSuspended(boolean suspended)
    • getProcessInstanceId

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

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

      public String getProcessDefinitionKey()
      Specified by:
      getProcessDefinitionKey in interface org.camunda.bpm.engine.runtime.Execution
    • toString

      public String toString()
      Overrides:
      toString in class Object