本文整理了Java中org.activiti.engine.runtime.Execution.isSuspended()
方法的一些代码示例,展示了Execution.isSuspended()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Execution.isSuspended()
方法的具体详情如下:
包路径:org.activiti.engine.runtime.Execution
类名称:Execution
方法名:isSuspended
[英]Indicates if the execution is suspended.
[中]指示执行是否已挂起。
代码示例来源:origin: FINRAOS/herd
builder.append(" execution.getProcessInstanceId():").append(execution.getProcessInstanceId()).append('\n');
builder.append(" execution.isEnded():").append(execution.isEnded()).append('\n');
builder.append(" execution.isSuspended():").append(execution.isSuspended()).append('\n');
Map<String, Object> executionVariables = activitiRuntimeService.getVariables(execution.getId());
for (Map.Entry<String, Object> variable : executionVariables.entrySet())
代码示例来源:origin: org.activiti/activiti-rest
public ExecutionResponse createExecutionResponse(Execution execution, RestUrlBuilder urlBuilder) {
ExecutionResponse result = new ExecutionResponse();
result.setActivityId(execution.getActivityId());
result.setId(execution.getId());
result.setUrl(urlBuilder.buildUrl(RestUrls.URL_EXECUTION, execution.getId()));
result.setSuspended(execution.isSuspended());
result.setTenantId(execution.getTenantId());
result.setParentId(execution.getParentId());
if (execution.getParentId() != null) {
result.setParentUrl(urlBuilder.buildUrl(RestUrls.URL_EXECUTION, execution.getParentId()));
}
result.setSuperExecutionId(execution.getSuperExecutionId());
if (execution.getSuperExecutionId() != null) {
result.setSuperExecutionUrl(urlBuilder.buildUrl(RestUrls.URL_EXECUTION, execution.getSuperExecutionId()));
}
result.setProcessInstanceId(execution.getProcessInstanceId());
if (execution.getProcessInstanceId() != null) {
result.setProcessInstanceUrl(urlBuilder.buildUrl(RestUrls.URL_PROCESS_INSTANCE, execution.getProcessInstanceId()));
}
return result;
}
内容来源于网络,如有侵权,请联系作者删除!