Class CancelRequest


  • public class CancelRequest
    extends RequestBase
    Cancels a task, if it can be cancelled through an API.
    • Method Detail

      • actions

        public final java.util.List<java.lang.String> actions()
        A comma-separated list of actions that should be cancelled. Leave empty to cancel all.

        API name: actions

      • nodes

        public final java.util.List<java.lang.String> nodes()
        A comma-separated list of node IDs or names to limit the returned information; use _local to return information from the node you're connecting to, leave empty to get information from all nodes

        API name: nodes

      • parentTaskId

        @Nullable
        public final java.lang.String parentTaskId()
        Cancel tasks with specified parent task id (node_id:task_number). Set to -1 to cancel all.

        API name: parent_task_id

      • taskId

        @Nullable
        public final java.lang.String taskId()
        Cancel the task with specified task id (node_id:task_number)

        API name: task_id

      • waitForCompletion

        @Nullable
        public final java.lang.Boolean waitForCompletion()
        Should the request block until the cancellation of the task and its descendant tasks is completed. Defaults to false

        API name: wait_for_completion