Class ActivityBasedTaskRun
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.activity.run.task.ActivityBasedTaskRun
-
- All Implemented Interfaces:
TaskRun
,ShortDumpable
public class ActivityBasedTaskRun extends Object implements TaskRun
A run of an activity-based task.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityTree
getActivityTree()
@NotNull CommonTaskBeans
getBeans()
Activity<?,?>
getLocalRootActivity()
@NotNull RunningTask
getRunningTask()
Returns the task associated with this run.Long
heartbeat()
@NotNull TaskRunResult
run(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, wait
-
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.repo.common.activity.run.task.TaskRun
canRun, getRootTask, isRootTask, shortDump
-
-
-
-
Method Detail
-
run
@NotNull public @NotNull TaskRunResult run(OperationResult result) throws TaskException
Description copied from interface:TaskRun
Passes control to the run object. The object is now responsible for the whole execution of this task.- Specified by:
run
in interfaceTaskRun
- Throws:
TaskException
-
getRunningTask
@NotNull public @NotNull RunningTask getRunningTask()
Description copied from interface:TaskRun
Returns the task associated with this run.- Specified by:
getRunningTask
in interfaceTaskRun
-
getBeans
@NotNull public @NotNull CommonTaskBeans getBeans()
-
getActivityTree
public ActivityTree getActivityTree()
-
getLocalRootActivity
public Activity<?,?> getLocalRootActivity()
-
-