Class TaskGroup
- java.lang.Object
-
- org.elasticsearch.action.admin.cluster.node.tasks.list.TaskGroup
-
- All Implemented Interfaces:
ToXContent
,ToXContentObject
public class TaskGroup extends java.lang.Object implements ToXContentObject
Information about a currently running task and all its subtasks.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TaskGroup.Builder
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
Modifier and Type Method Description static TaskGroup.Builder
builder(TaskInfo taskInfo)
java.util.List<TaskGroup>
getChildTasks()
TaskInfo
getTaskInfo()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Method Detail
-
builder
public static TaskGroup.Builder builder(TaskInfo taskInfo)
-
getTaskInfo
public TaskInfo getTaskInfo()
-
getChildTasks
public java.util.List<TaskGroup> getChildTasks()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
-