本文整理了Java中com.evolveum.midpoint.task.api.TaskManager.resumeTask()
方法的一些代码示例,展示了TaskManager.resumeTask()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TaskManager.resumeTask()
方法的具体详情如下:
包路径:com.evolveum.midpoint.task.api.TaskManager
类名称:TaskManager
方法名:resumeTask
[英]Resume suspended task.
[中]恢复暂停的任务。
代码示例来源:origin: Evolveum/midpoint
@Override
public void resumeTask(String taskOid, Task operationTask, OperationResult parentResult) throws SecurityViolationException, ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException {
authorizeTaskOperation(ModelAuthorizationAction.RESUME_TASK, taskOid, operationTask, parentResult);
taskManager.resumeTask(taskOid, parentResult);
}
代码示例来源:origin: Evolveum/midpoint
public void resumeTask(WfTask wfTask, OperationResult result) throws SchemaException, ObjectNotFoundException {
taskManager.resumeTask(wfTask.getTask(), result);
}
代码示例来源:origin: Evolveum/midpoint
if (task.getExecutionStatus() == TaskExecutionStatus.SUSPENDED) {
LOGGER.debug("Task {} is suspended, resuming it", task);
taskManager.resumeTask(task, result);
} else if (task.getExecutionStatus() == TaskExecutionStatus.CLOSED) {
LOGGER.debug("Task {} is closed, scheduling it to run now", task);
内容来源于网络,如有侵权,请联系作者删除!