Class DelegateCaseVariableInstanceFake

  • All Implemented Interfaces:
    org.camunda.bpm.engine.delegate.DelegateCaseVariableInstance, org.camunda.bpm.engine.delegate.DelegateVariableInstance<org.camunda.bpm.engine.delegate.DelegateCaseExecution>, org.camunda.bpm.engine.delegate.ProcessEngineServicesAware, org.camunda.bpm.engine.runtime.VariableInstance

    public class DelegateCaseVariableInstanceFake
    extends Object
    implements org.camunda.bpm.engine.delegate.DelegateCaseVariableInstance
    This DelegateCaseVariableInstance is useful when testing CaseVariableListeners in case plan items.
    • Constructor Detail

      • DelegateCaseVariableInstanceFake

        public DelegateCaseVariableInstanceFake()
      • DelegateCaseVariableInstanceFake

        public DelegateCaseVariableInstanceFake​(String id)
    • Method Detail

      • getEventName

        public String getEventName()
        Specified by:
        getEventName in interface org.camunda.bpm.engine.delegate.DelegateCaseVariableInstance
        Specified by:
        getEventName in interface org.camunda.bpm.engine.delegate.DelegateVariableInstance<org.camunda.bpm.engine.delegate.DelegateCaseExecution>
      • getSourceExecution

        public org.camunda.bpm.engine.delegate.DelegateCaseExecution getSourceExecution()
        Specified by:
        getSourceExecution in interface org.camunda.bpm.engine.delegate.DelegateCaseVariableInstance
        Specified by:
        getSourceExecution in interface org.camunda.bpm.engine.delegate.DelegateVariableInstance<org.camunda.bpm.engine.delegate.DelegateCaseExecution>
      • getProcessEngineServices

        public org.camunda.bpm.engine.ProcessEngineServices getProcessEngineServices()
        Specified by:
        getProcessEngineServices in interface org.camunda.bpm.engine.delegate.ProcessEngineServicesAware
      • getProcessEngine

        public org.camunda.bpm.engine.ProcessEngine getProcessEngine()
        Specified by:
        getProcessEngine in interface org.camunda.bpm.engine.delegate.ProcessEngineServicesAware
      • withProcessEngineServices

        public DelegateCaseVariableInstanceFake withProcessEngineServices​(org.camunda.bpm.engine.ProcessEngineServices processEngineServices)
      • getId

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

        public String getName()
        Specified by:
        getName in interface org.camunda.bpm.engine.runtime.VariableInstance
      • getTypeName

        public String getTypeName()
        Specified by:
        getTypeName in interface org.camunda.bpm.engine.runtime.VariableInstance
      • getValue

        public Object getValue()
        Specified by:
        getValue in interface org.camunda.bpm.engine.runtime.VariableInstance
      • getTypedValue

        public org.camunda.bpm.engine.variable.value.TypedValue getTypedValue()
        Specified by:
        getTypedValue in interface org.camunda.bpm.engine.runtime.VariableInstance
      • getProcessInstanceId

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

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

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

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

        public String getCaseExecutionId()
        Specified by:
        getCaseExecutionId in interface org.camunda.bpm.engine.runtime.VariableInstance
      • getTaskId

        public String getTaskId()
        Specified by:
        getTaskId in interface org.camunda.bpm.engine.runtime.VariableInstance
      • getBatchId

        public String getBatchId()
        Specified by:
        getBatchId in interface org.camunda.bpm.engine.runtime.VariableInstance
      • getActivityInstanceId

        public String getActivityInstanceId()
        Specified by:
        getActivityInstanceId in interface org.camunda.bpm.engine.runtime.VariableInstance
      • getErrorMessage

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

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