Interface TaskOptions

    • Method Detail

      • getArgs

        @Stability(Experimental)
        @Nullable
        default List<String> getArgs()
        (experimental) Should the provided exec shell command receive fixed args.

        Default: - no arguments are passed to the step

        See Also:
        TaskStepOptions.args
      • getExec

        @Stability(Experimental)
        @Nullable
        default String getExec()
        (experimental) Shell command to execute as the first command of the task.

        Default: - add steps using `task.exec(command)` or `task.spawn(subtask)`

      • getReceiveArgs

        @Stability(Experimental)
        @Nullable
        default Boolean getReceiveArgs()
        (experimental) Should the provided exec shell command receive args passed to the task.

        Default: false

        See Also:
        TaskStepOptions.receiveArgs
      • getSteps

        @Stability(Experimental)
        @Nullable
        default List<TaskStep> getSteps()
        (experimental) List of task steps to run.