Class ActivityBasedTaskRun
java.lang.Object
com.evolveum.midpoint.repo.common.activity.run.task.ActivityBasedTaskRun
- All Implemented Interfaces:
TaskRun,ShortDumpable
This class groups everything related to an execution (a run) of a task related somehow to an activity.
It may be a task that executes the activity locally, a task that orchestrates execution of the activity on other nodes,
a task that just delegates to another task, etc.
-
Method Summary
Modifier and TypeMethodDescription@NotNull CommonTaskBeansgetBeans()Activity<?,?> @NotNull RunningTaskReturns the task associated with this run.@NotNull TaskRunResultrun(OperationResult result) Passes control to the run object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazilyMethods inherited from interface com.evolveum.midpoint.repo.common.activity.run.task.TaskRun
canRun, getRootTask, isRootTask, shortDump
-
Method Details
-
run
Description copied from interface:TaskRunPasses control to the run object. The object is now responsible for the whole execution of this task.- Specified by:
runin interfaceTaskRun- Throws:
TaskException
-
getRunningTask
Description copied from interface:TaskRunReturns the task associated with this run.- Specified by:
getRunningTaskin interfaceTaskRun
-
getBeans
-
getActivityTree
-
getLocalRootActivity
-
heartbeat
-