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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProcessInstanceFake.ProcessInstanceFakeBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProcessInstanceFake.ProcessInstanceFakeBuilderbuilder()StringgetBusinessKey()StringgetCaseInstanceId()StringgetId()StringgetProcessDefinitionId()StringgetProcessInstanceId()StringgetRootProcessInstanceId()StringgetTenantId()booleanisEnded()booleanisSuspended()voidsetEnded(boolean ended)voidsetSuspended(boolean suspended)StringtoString()
-
-
-
Method Detail
-
builder
public static ProcessInstanceFake.ProcessInstanceFakeBuilder builder()
-
getProcessDefinitionId
public String getProcessDefinitionId()
- Specified by:
getProcessDefinitionIdin interfaceorg.camunda.bpm.engine.runtime.ProcessInstance
-
getBusinessKey
public String getBusinessKey()
- Specified by:
getBusinessKeyin interfaceorg.camunda.bpm.engine.runtime.ProcessInstance
-
getRootProcessInstanceId
public String getRootProcessInstanceId()
- Specified by:
getRootProcessInstanceIdin interfaceorg.camunda.bpm.engine.runtime.ProcessInstance
-
getCaseInstanceId
public String getCaseInstanceId()
- Specified by:
getCaseInstanceIdin interfaceorg.camunda.bpm.engine.runtime.ProcessInstance
-
getId
public String getId()
- Specified by:
getIdin interfaceorg.camunda.bpm.engine.runtime.Execution
-
isSuspended
public boolean isSuspended()
- Specified by:
isSuspendedin interfaceorg.camunda.bpm.engine.runtime.Execution- Specified by:
isSuspendedin interfaceorg.camunda.bpm.engine.runtime.ProcessInstance
-
isEnded
public boolean isEnded()
- Specified by:
isEndedin interfaceorg.camunda.bpm.engine.runtime.Execution
-
setEnded
public void setEnded(boolean ended)
-
setSuspended
public void setSuspended(boolean suspended)
-
getProcessInstanceId
public String getProcessInstanceId()
- Specified by:
getProcessInstanceIdin interfaceorg.camunda.bpm.engine.runtime.Execution
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceorg.camunda.bpm.engine.runtime.Execution
-
-