@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.449Z") @Stability(value=Experimental) public interface TaskStep extends software.amazon.jsii.JsiiSerializable, TaskStepOptions
The step could either be the execution of a shell command or execution of a sub-task, by name.
| Modifier and Type | Interface and Description |
|---|---|
static class |
TaskStep.Builder
A builder for
TaskStep |
static class |
TaskStep.Jsii$Proxy
An implementation for
TaskStep |
| Modifier and Type | Method and Description |
|---|---|
static TaskStep.Builder |
builder() |
default String |
getBuiltin()
(experimental) The name of a built-in task to execute.
|
default String |
getExec()
(experimental) Shell command to execute.
|
default String |
getSay()
(experimental) Print a message.
|
default String |
getSpawn()
(experimental) Subtask to execute.
|
getCwd, getName@Stability(value=Experimental) @Nullable default String getBuiltin()
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
@Stability(value=Experimental) @Nullable default String getExec()
Default: - don't execute a shell command
@Stability(value=Experimental) @Nullable default String getSay()
Default: - don't say anything
@Stability(value=Experimental) @Nullable default String getSpawn()
Default: - don't spawn a subtask
@Stability(value=Experimental) static TaskStep.Builder builder()
builder in interface TaskStepOptionsTaskStep.Builder of TaskStepCopyright © 2021. All rights reserved.