public class DelegateCaseVariableInstanceFake extends Object implements org.camunda.bpm.engine.delegate.DelegateCaseVariableInstance
DelegateCaseVariableInstance is useful when testing CaseVariableListeners in case plan items.| Constructor and Description |
|---|
DelegateCaseVariableInstanceFake() |
DelegateCaseVariableInstanceFake(String id) |
public DelegateCaseVariableInstanceFake()
public DelegateCaseVariableInstanceFake(String id)
public DelegateCaseVariableInstanceFake create(String name, org.camunda.bpm.engine.variable.value.TypedValue value)
public DelegateCaseVariableInstanceFake update(String name, org.camunda.bpm.engine.variable.value.TypedValue value)
public DelegateCaseVariableInstanceFake delete(String name, org.camunda.bpm.engine.variable.value.TypedValue typedValue)
public String getEventName()
getEventName in interface org.camunda.bpm.engine.delegate.DelegateCaseVariableInstancegetEventName in interface org.camunda.bpm.engine.delegate.DelegateVariableInstance<org.camunda.bpm.engine.delegate.DelegateCaseExecution>public DelegateCaseVariableInstanceFake withEventName(String eventName)
public org.camunda.bpm.engine.delegate.DelegateCaseExecution getSourceExecution()
getSourceExecution in interface org.camunda.bpm.engine.delegate.DelegateCaseVariableInstancegetSourceExecution in interface org.camunda.bpm.engine.delegate.DelegateVariableInstance<org.camunda.bpm.engine.delegate.DelegateCaseExecution>public DelegateCaseVariableInstanceFake withSourceExecution(org.camunda.bpm.engine.delegate.DelegateCaseExecution sourceExecution)
public org.camunda.bpm.engine.ProcessEngineServices getProcessEngineServices()
getProcessEngineServices in interface org.camunda.bpm.engine.delegate.ProcessEngineServicesAwarepublic org.camunda.bpm.engine.ProcessEngine getProcessEngine()
getProcessEngine in interface org.camunda.bpm.engine.delegate.ProcessEngineServicesAwarepublic DelegateCaseVariableInstanceFake withProcessEngineServices(org.camunda.bpm.engine.ProcessEngineServices processEngineServices)
public String getId()
getId in interface org.camunda.bpm.engine.runtime.VariableInstancepublic DelegateCaseVariableInstanceFake withId(String id)
public String getName()
getName in interface org.camunda.bpm.engine.runtime.VariableInstancepublic DelegateCaseVariableInstanceFake withName(String name)
public String getTypeName()
getTypeName in interface org.camunda.bpm.engine.runtime.VariableInstancepublic Object getValue()
getValue in interface org.camunda.bpm.engine.runtime.VariableInstancepublic org.camunda.bpm.engine.variable.value.TypedValue getTypedValue()
getTypedValue in interface org.camunda.bpm.engine.runtime.VariableInstancepublic DelegateCaseVariableInstanceFake withValue(Object value)
public DelegateCaseVariableInstanceFake withValue(org.camunda.bpm.engine.variable.value.TypedValue typedValue)
public String getProcessInstanceId()
getProcessInstanceId in interface org.camunda.bpm.engine.runtime.VariableInstancepublic DelegateCaseVariableInstanceFake withProcessInstanceId(String processInstanceId)
public String getProcessDefinitionId()
getProcessDefinitionId in interface org.camunda.bpm.engine.runtime.VariableInstancepublic DelegateCaseVariableInstanceFake withProcessDefinitionId()
public String getExecutionId()
getExecutionId in interface org.camunda.bpm.engine.runtime.VariableInstancepublic DelegateCaseVariableInstanceFake withExecutionId(String executionId)
public String getCaseInstanceId()
getCaseInstanceId in interface org.camunda.bpm.engine.runtime.VariableInstancepublic DelegateCaseVariableInstanceFake withCaseInstanceId(String caseInstanceId)
public String getCaseExecutionId()
getCaseExecutionId in interface org.camunda.bpm.engine.runtime.VariableInstancepublic DelegateCaseVariableInstanceFake withCaseExecutionId(String caseExecutionId)
public String getTaskId()
getTaskId in interface org.camunda.bpm.engine.runtime.VariableInstancepublic DelegateCaseVariableInstanceFake withTaskId(String taskId)
public String getActivityInstanceId()
getActivityInstanceId in interface org.camunda.bpm.engine.runtime.VariableInstancepublic DelegateCaseVariableInstanceFake withActivityInstanceId(String activityInstanceId)
public String getErrorMessage()
getErrorMessage in interface org.camunda.bpm.engine.runtime.VariableInstancepublic DelegateCaseVariableInstanceFake withErrorMessage(String errorMessage)
public String getTenantId()
getTenantId in interface org.camunda.bpm.engine.runtime.VariableInstancepublic DelegateCaseVariableInstanceFake withTenantId(String tenantId)
Copyright © 2020 Camunda Services GmbH. All rights reserved.