Package io.github.cdklabs.projen
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTaskStep.BuilderA builder forTaskStepstatic classTaskStep.Jsii$ProxyAn implementation forTaskStep
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static TaskStep.Builderbuilder()default StringgetBuiltin()(experimental) The name of a built-in task to execute.default StringgetExec()(experimental) Shell command to execute.default StringgetSay()(experimental) Print a message.default StringgetSpawn()(experimental) Subtask to execute.-
Methods inherited from interface io.github.cdklabs.projen.TaskStepOptions
getArgs, getCondition, getCwd, getEnv, getName, getReceiveArgs
-
-
-
-
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 berelease/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
-
builder
@Stability(Experimental) static TaskStep.Builder builder()
- Returns:
- a
TaskStep.BuilderofTaskStep
-
-