@Stability(value=Experimental) @Internal public static final class TaskSpec.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TaskSpec
TaskSpecsoftware.amazon.jsii.JsiiObject.InitializationModeTaskSpec.Builder, TaskSpec.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(TaskSpec.Builder builder)
Constructor that initializes the object based on literal property values passed by the
TaskSpec.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 |
getName()
(experimental) Task name.
|
List<String> |
getRequiredEnv()
(experimental) A set of environment variables that must be defined in order to execute this task.
|
List<TaskStep> |
getSteps()
(experimental) Task steps.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(TaskSpec.Builder builder)
TaskSpec.Builder.public final String getName()
TaskSpecpublic final List<TaskStep> getSteps()
TaskSpecpublic 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.