software.amazon.jsii.JsiiObject.InitializationModeJobStep.Builder, JobStep.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(JobStep.Builder builder)
Constructor that initializes the object based on literal property values passed by the
JobStep.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getContinueOnError()
(experimental) Prevents a job from failing when a step fails.
|
Map<String,String> |
getEnv()
(experimental) Sets environment variables for steps to use in the runner environment.
|
String |
getId()
(experimental) A unique identifier for the step.
|
String |
getIfValue()
(experimental) You can use the if conditional to prevent a job from running unless a condition is met.
|
String |
getName()
(experimental) A name for your step to display on GitHub.
|
String |
getRun()
(experimental) Runs command-line programs using the operating system's shell.
|
Number |
getTimeoutMinutes()
(experimental) The maximum number of minutes to run the step before killing the process.
|
String |
getUses()
(experimental) Selects an action to run as part of a step in your job.
|
Map<String,Object> |
getWith()
(experimental) A map of the input parameters defined by the action.
|
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(JobStep.Builder builder)
JobStep.Builder.public final Boolean getContinueOnError()
JobStepSet to true to allow a job to pass when this step fails.
getContinueOnError in interface JobSteppublic final Map<String,String> getEnv()
JobStepYou can also set environment variables for the entire workflow or a job.
public final String getId()
JobStepYou can use the id to reference the step in contexts.
public final String getIfValue()
JobStepYou can use any supported context and expression to create a conditional.
getIfValue in interface JobSteppublic final String getName()
JobSteppublic final String getRun()
JobStepIf you do not provide a name, the step name will default to the text specified in the run command.
public final Number getTimeoutMinutes()
JobStepgetTimeoutMinutes in interface JobSteppublic final String getUses()
JobStepAn action is a reusable unit of code. You can use an action defined in the same repository as the workflow, a public repository, or in a published Docker container image.
public final Map<String,Object> getWith()
JobStepEach input parameter is a key/value pair. Input parameters are set as environment variables. The variable is prefixed with INPUT_ and converted to upper case.
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.