@Stability(value=Experimental) @Internal public static final class JobStrategy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements JobStrategy
JobStrategysoftware.amazon.jsii.JsiiObject.InitializationModeJobStrategy.Builder, JobStrategy.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(JobStrategy.Builder builder)
Constructor that initializes the object based on literal property values passed by the
JobStrategy.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 |
getFailFast()
(experimental) When set to true, GitHub cancels all in-progress jobs if any matrix job fails.
|
JobMatrix |
getMatrix()
(experimental) You can define a matrix of different job configurations.
|
Number |
getMaxParallel()
(experimental) The maximum number of jobs that can run simultaneously when using a matrix job strategy.
|
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(JobStrategy.Builder builder)
JobStrategy.Builder.public final Boolean getFailFast()
JobStrategyDefault: true
getFailFast in interface JobStrategypublic final JobMatrix getMatrix()
JobStrategyA matrix allows you to create multiple jobs by performing variable substitution in a single job definition. For example, you can use a matrix to create jobs for more than one supported version of a programming language, operating system, or tool. A matrix reuses the job's configuration and creates a job for each matrix you configure.
A job matrix can generate a maximum of 256 jobs per workflow run. This limit also applies to self-hosted runners.
getMatrix in interface JobStrategypublic final Number getMaxParallel()
JobStrategyBy default, GitHub will maximize the number of jobs run in parallel depending on the available runners on GitHub-hosted virtual machines.
getMaxParallel in interface JobStrategy@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.