@Stability(value=Experimental) @Internal public static final class TaskOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TaskOptions
TaskOptionssoftware.amazon.jsii.JsiiObject.InitializationModeTaskOptions.Builder, TaskOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(TaskOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
TaskOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getCondition()
(experimental) A shell command which determines if the this task should be executed.
|
String |
getCwd()
(experimental) The working directory for all steps in this task (unless overridden by the step).
|
String |
getDescription()
(experimental) The description of this build command.
|
Map<String,String> |
getEnv()
(experimental) Defines environment variables for the execution of this task.
|
String |
getExec()
(experimental) Shell command to execute as the first command of the task.
|
List<String> |
getRequiredEnv()
(experimental) A set of environment variables that must be defined in order to execute this task.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(TaskOptions.Builder builder)
TaskOptions.Builder.public final String getExec()
TaskOptionsDefault: - add steps using `task.exec(command)` or `task.spawn(subtask)`
getExec in interface TaskOptionspublic final String getCondition()
TaskCommonOptionsIf the program exits with a zero exit code, steps will be executed. A non-zero code means that task will be skipped.
getCondition in interface TaskCommonOptionspublic final String getCwd()
TaskCommonOptionsDefault: - process.cwd()
getCwd in interface TaskCommonOptionspublic final String getDescription()
TaskCommonOptionsDefault: - the task name
getDescription in interface TaskCommonOptionspublic final Map<String,String> getEnv()
TaskCommonOptions
Values in this map will be evaluated in a shell, so you can do stuff like $(echo "foo").
Default: {}
getEnv in interface TaskCommonOptionspublic final List<String> getRequiredEnv()
TaskCommonOptionsTask execution will fail if one of these is not defined.
getRequiredEnv in interface TaskCommonOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.