org.camunda.bpm.engine.runtime.Execution.isEnded()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(84)

本文整理了Java中org.camunda.bpm.engine.runtime.Execution.isEnded()方法的一些代码示例,展示了Execution.isEnded()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Execution.isEnded()方法的具体详情如下:
包路径:org.camunda.bpm.engine.runtime.Execution
类名称:Execution
方法名:isEnded

Execution.isEnded介绍

[英]Indicates if the execution is ended.
[中]指示执行是否结束。

代码示例

代码示例来源:origin: camunda/camunda-bpm-platform

public boolean isEnded() {
 return wrappedExecution.isEnded();
}

代码示例来源:origin: camunda/camunda-bpm-platform

public static Execution createMockExecution(String tenantId) {
 Execution mock = mock(Execution.class);
 when(mock.getId()).thenReturn(EXAMPLE_EXECUTION_ID);
 when(mock.getProcessInstanceId()).thenReturn(EXAMPLE_PROCESS_INSTANCE_ID);
 when(mock.isEnded()).thenReturn(EXAMPLE_EXECUTION_IS_ENDED);
 when(mock.getTenantId()).thenReturn(tenantId);
 return mock;
}

代码示例来源:origin: camunda/camunda-bpm-platform

public static ExecutionDto fromExecution(Execution execution) {
 ExecutionDto dto = new ExecutionDto();
 dto.id = execution.getId();
 dto.processInstanceId = execution.getProcessInstanceId();
 dto.ended = execution.isEnded();
 dto.tenantId = execution.getTenantId();
 return dto;
}

代码示例来源:origin: camunda/camunda-bpm-platform

public static ExecutionDto fromExecution(Execution execution) {
 ExecutionDto dto = new ExecutionDto();
 dto.id = execution.getId();
 dto.processInstanceId = execution.getProcessInstanceId();
 dto.ended = execution.isEnded();
 dto.tenantId = execution.getTenantId();
 return dto;
}

代码示例来源:origin: org.camunda.bpm/camunda-engine

public boolean isEnded() {
 return wrappedExecution.isEnded();
}

代码示例来源:origin: org.camunda.bpm/camunda-engine-rest-jaxrs2

public static ExecutionDto fromExecution(Execution execution) {
 ExecutionDto dto = new ExecutionDto();
 dto.id = execution.getId();
 dto.processInstanceId = execution.getProcessInstanceId();
 dto.ended = execution.isEnded();
 dto.tenantId = execution.getTenantId();
 return dto;
}

相关文章