| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TaskStep |
build()
Builds the configured instance.
|
TaskStep.Builder |
builtin(String builtin)
Sets the value of
TaskStep.getBuiltin() |
TaskStep.Builder |
cwd(String cwd)
Sets the value of
TaskStepOptions.getCwd() |
TaskStep.Builder |
exec(String exec)
Sets the value of
TaskStep.getExec() |
TaskStep.Builder |
name(String name)
Sets the value of
TaskStepOptions.getName() |
TaskStep.Builder |
say(String say)
Sets the value of
TaskStep.getSay() |
TaskStep.Builder |
spawn(String spawn)
Sets the value of
TaskStep.getSpawn() |
@Stability(value=Experimental) public TaskStep.Builder builtin(String builtin)
TaskStep.getBuiltin()builtin - 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.
this@Stability(value=Experimental) public TaskStep.Builder exec(String exec)
TaskStep.getExec()exec - Shell command to execute.this@Stability(value=Experimental) public TaskStep.Builder say(String say)
TaskStep.getSay()say - Print a message.this@Stability(value=Experimental) public TaskStep.Builder spawn(String spawn)
TaskStep.getSpawn()spawn - Subtask to execute.this@Stability(value=Experimental) public TaskStep.Builder cwd(String cwd)
TaskStepOptions.getCwd()cwd - The working directory for this step.this@Stability(value=Experimental) public TaskStep.Builder name(String name)
TaskStepOptions.getName()name - Step name.this@Stability(value=Experimental) public TaskStep build()
build in interface software.amazon.jsii.Builder<TaskStep>TaskStepNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.