Class BaseTasksRequest<Request extends BaseTasksRequest<Request>>

    • Field Detail

      • ALL_ACTIONS

        public static final java.lang.String[] ALL_ACTIONS
      • ALL_NODES

        public static final java.lang.String[] ALL_NODES
    • Constructor Detail

      • BaseTasksRequest

        public BaseTasksRequest()
      • BaseTasksRequest

        protected BaseTasksRequest​(StreamInput in)
                            throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • setActions

        public final Request setActions​(java.lang.String... actions)
        Sets the list of action masks for the actions that should be returned
      • getActions

        public java.lang.String[] getActions()
        Return the list of action masks for the actions that should be returned
      • getNodes

        public final java.lang.String[] getNodes()
      • setNodes

        public final Request setNodes​(java.lang.String... nodes)
      • getTaskId

        public TaskId getTaskId()
        Returns the id of the task that should be processed. By default tasks with any ids are returned.
      • getParentTaskId

        public TaskId getParentTaskId()
        Returns the parent task id that tasks should be filtered by
      • setParentTaskId

        public Request setParentTaskId​(TaskId parentTaskId)
      • setTimeout

        public final Request setTimeout​(java.lang.String timeout)
      • match

        public boolean match​(Task task)