本文整理了Java中org.camunda.bpm.engine.runtime.Execution.isEnded()
方法的一些代码示例,展示了Execution.isEnded()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Execution.isEnded()
方法的具体详情如下:
包路径:org.camunda.bpm.engine.runtime.Execution
类名称: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;
}
内容来源于网络,如有侵权,请联系作者删除!