Uses of Interface
org.hippoecm.hst.diagnosis.Task
-
Uses of Task in org.hippoecm.hst.diagnosis
Modifier and TypeMethodDescriptionprotected Task
DefaultTaskImpl.createSubtask
(Task parentTask, String name) Creates a realTask
instance.protected Task
HDC.doCreateTask
(String name) Internally create a task instance by the name.protected Task
HDC.doGetCurrentTask()
Internally returns the task instance in the current thread context if available.protected Task
HDC.doGetRootTask()
Internally returns the root task instance if available.protected Task
Internally starts the root task by the name.static Task
HDC.getCurrentTask()
Returns the task in the current thread context.DefaultTaskImpl.getParentTask()
Task.getParentTask()
static Task
HDC.getRootTask()
Returns the root task.static Task
Start the root task with the name.DefaultTaskImpl.startSubtask
(String name) Task.startSubtask
(String name) Starts and returns a child subtask with the name.Modifier and TypeMethodDescriptionDefaultTaskImpl.getChildTasks()
Task.getChildTasks()
Returns the child tasks collectionModifier and TypeMethodDescriptionprotected Task
DefaultTaskImpl.createSubtask
(Task parentTask, String name) Creates a realTask
instance.protected void
HDC.doSetCurrentTask
(Task currentTask) Internally sets the task instance in the current thread context.static String
TaskLogFormatUtils.getTaskLog
(Task task) Returns a nicely formatted string showing all the tasks hierarchically.static String
TaskLogFormatUtils.getTaskLog
(Task task, int maxDepth) Returns a formatted string from thetask
including its descendant tasks.static String
TaskLogFormatUtils.getTaskLog
(Task task, int maxDepth, long subtaskThresholdMillisec) Returns a formatted string from thetask
including its descendant tasks.static void
HDC.setCurrentTask
(Task currentTask) Sets a task in the current thread context.