java.lang.Object
org.elasticsearch.action.admin.cluster.node.tasks.list.TaskGroup
All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

public class TaskGroup
extends java.lang.Object
implements org.elasticsearch.common.xcontent.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

    org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
  • Field Summary

    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • Constructor Summary

    Constructors
    Constructor Description
    TaskGroup​(TaskInfo task, java.util.List<TaskGroup> childTasks)  
  • Method Summary

    Modifier and Type Method Description
    static TaskGroup.Builder builder​(TaskInfo taskInfo)  
    java.util.List<TaskGroup> getChildTasks()  
    TaskInfo getTaskInfo()  
    org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.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
  • Constructor Details

    • TaskGroup

      public TaskGroup​(TaskInfo task, java.util.List<TaskGroup> childTasks)
  • Method Details

    • builder

      public static TaskGroup.Builder builder​(TaskInfo taskInfo)
    • getTaskInfo

      public TaskInfo getTaskInfo()
    • getChildTasks

      public java.util.List<TaskGroup> getChildTasks()
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      java.io.IOException