Uses of Interface
org.hippoecm.hst.diagnosis.Task
-
Packages that use Task Package Description org.hippoecm.hst.diagnosis -
-
Uses of Task in org.hippoecm.hst.diagnosis
Classes in org.hippoecm.hst.diagnosis that implement Task Modifier and Type Class Description class
DefaultTaskImpl
DefaultTaskImplFields in org.hippoecm.hst.diagnosis declared as Task Modifier and Type Field Description static Task
HDC. NOOP_TASK
Methods in org.hippoecm.hst.diagnosis that return Task Modifier and Type Method Description protected 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
HDC. doStart(String name)
Internally starts the root task by the name.static Task
HDC. getCurrentTask()
Returns the task in the current thread context.Task
DefaultTaskImpl. getParentTask()
Task
Task. getParentTask()
static Task
HDC. getRootTask()
Returns the root task.static Task
HDC. start(String name)
Start the root task with the name.Task
DefaultTaskImpl. startSubtask(String name)
Task
Task. startSubtask(String name)
Starts and returns a child subtask with the name.Methods in org.hippoecm.hst.diagnosis that return types with arguments of type Task Modifier and Type Method Description Collection<Task>
DefaultTaskImpl. getChildTasks()
Collection<Task>
Task. getChildTasks()
Returns the child tasks collectionMethods in org.hippoecm.hst.diagnosis with parameters of type Task Modifier and Type Method Description protected 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.Constructors in org.hippoecm.hst.diagnosis with parameters of type Task Constructor Description DefaultTaskImpl(Task parentTask, String name)
-