Interface TaskStep

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable, TaskStepOptions
    All Known Implementing Classes:
    TaskStep.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.96.0 (build 921e240)",
               date="2024-03-28T21:16:42.810Z")
    @Stability(Experimental)
    public interface TaskStep
    extends software.amazon.jsii.JsiiSerializable, TaskStepOptions
    (experimental) A single step within a task.

    The step could either be the execution of a shell command or execution of a sub-task, by name.

    • Method Detail

      • getBuiltin

        @Stability(Experimental)
        @Nullable
        default String getBuiltin()
        (experimental) The name of a built-in task to execute.

        Built-in tasks are node.js programs baked into the projen module and as component runtime helpers.

        The name is a path relative to the projen lib/ directory (without the .task.js extension). For example, if your built in builtin task is under src/release/resolve-version.task.ts, then this would be release/resolve-version.

        Default: - do not execute a builtin task

      • getExec

        @Stability(Experimental)
        @Nullable
        default String getExec()
        (experimental) Shell command to execute.

        Default: - don't execute a shell command

      • getSay

        @Stability(Experimental)
        @Nullable
        default String getSay()
        (experimental) Print a message.

        Default: - don't say anything

      • getSpawn

        @Stability(Experimental)
        @Nullable
        default String getSpawn()
        (experimental) Subtask to execute.

        Default: - don't spawn a subtask