Class JobStep.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.cdkpipelines.github.JobStep.Jsii$Proxy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.cdkpipelines.github.JobStep
JobStep.Builder, JobStep.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(JobStep.Builder builder)Constructor that initializes the object based on literal property values passed by theJobStep.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)BooleangetContinueOnError()Prevents a job from failing when a step fails.Map<String,String>getEnv()Sets environment variables for steps to use in the runner environment.StringgetId()A unique identifier for the step.StringgetIfValue()You can use the if conditional to prevent a job from running unless a condition is met.StringgetName()A name for your step to display on GitHub.StringgetRun()Runs command-line programs using the operating system's shell.NumbergetTimeoutMinutes()The maximum number of minutes to run the step before killing the process.StringgetUses()Selects an action to run as part of a step in your job.Map<String,Object>getWith()A map of the input parameters defined by the action.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(JobStep.Builder builder)
Constructor that initializes the object based on literal property values passed by theJobStep.Builder.
-
-
Method Detail
-
getContinueOnError
public final Boolean getContinueOnError()
Description copied from interface:JobStepPrevents a job from failing when a step fails.Set to true to allow a job to pass when this step fails.
- Specified by:
getContinueOnErrorin interfaceJobStep
-
getEnv
public final Map<String,String> getEnv()
Description copied from interface:JobStepSets environment variables for steps to use in the runner environment.You can also set environment variables for the entire workflow or a job.
-
getId
public final String getId()
Description copied from interface:JobStepA unique identifier for the step.You can use the id to reference the step in contexts.
-
getIfValue
public final String getIfValue()
Description copied from interface:JobStepYou can use the if conditional to prevent a job from running unless a condition is met.You can use any supported context and expression to create a conditional.
- Specified by:
getIfValuein interfaceJobStep
-
getName
public final String getName()
Description copied from interface:JobStepA name for your step to display on GitHub.
-
getRun
public final String getRun()
Description copied from interface:JobStepRuns command-line programs using the operating system's shell.If you do not provide a name, the step name will default to the text specified in the run command.
-
getTimeoutMinutes
public final Number getTimeoutMinutes()
Description copied from interface:JobStepThe maximum number of minutes to run the step before killing the process.- Specified by:
getTimeoutMinutesin interfaceJobStep
-
getUses
public final String getUses()
Description copied from interface:JobStepSelects an action to run as part of a step in your job.An 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.
-
getWith
public final Map<String,Object> getWith()
Description copied from interface:JobStepA map of the input parameters defined by the action.Each 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.
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-