@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.446Z") @Stability(value=Experimental) public interface TaskCommonOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
TaskCommonOptions.Builder
A builder for
TaskCommonOptions |
static class |
TaskCommonOptions.Jsii$Proxy
An implementation for
TaskCommonOptions |
| Modifier and Type | Method and Description |
|---|---|
static TaskCommonOptions.Builder |
builder() |
default String |
getCondition()
(experimental) A shell command which determines if the this task should be executed.
|
default String |
getCwd()
(experimental) The working directory for all steps in this task (unless overridden by the step).
|
default String |
getDescription()
(experimental) The description of this build command.
|
default Map<String,String> |
getEnv()
(experimental) Defines environment variables for the execution of this task.
|
default List<String> |
getRequiredEnv()
(experimental) A set of environment variables that must be defined in order to execute this task.
|
@Stability(value=Experimental) @Nullable default String getCondition()
If the program exits with a zero exit code, steps will be executed. A non-zero code means that task will be skipped.
@Stability(value=Experimental) @Nullable default String getCwd()
Default: - process.cwd()
@Stability(value=Experimental) @Nullable default String getDescription()
Default: - the task name
@Stability(value=Experimental) @Nullable default Map<String,String> getEnv()
Values in this map will be evaluated in a shell, so you can do stuff like $(echo "foo").
Default: {}
@Stability(value=Experimental) @Nullable default List<String> getRequiredEnv()
Task execution will fail if one of these is not defined.
@Stability(value=Experimental) static TaskCommonOptions.Builder builder()
TaskCommonOptions.Builder of TaskCommonOptionsCopyright © 2021. All rights reserved.