Class JobStrategy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.github.workflows.JobStrategy.Jsii$Proxy
-
- All Implemented Interfaces:
JobStrategy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- JobStrategy
@Stability(Experimental) @Internal public static final class JobStrategy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements JobStrategy
An implementation forJobStrategy
-
-
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.projen.github.workflows.JobStrategy
JobStrategy.Builder, JobStrategy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(JobStrategy.Builder builder)Constructor that initializes the object based on literal property values passed by theJobStrategy.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)BooleangetFailFast()(experimental) When set to true, GitHub cancels all in-progress jobs if any matrix job fails.JobMatrixgetMatrix()(experimental) You can define a matrix of different job configurations.NumbergetMaxParallel()(experimental) The maximum number of jobs that can run simultaneously when using a matrix job strategy.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(JobStrategy.Builder builder)
Constructor that initializes the object based on literal property values passed by theJobStrategy.Builder.
-
-
Method Detail
-
getFailFast
public final Boolean getFailFast()
Description copied from interface:JobStrategy(experimental) When set to true, GitHub cancels all in-progress jobs if any matrix job fails.Default: true
- Specified by:
getFailFastin interfaceJobStrategy
-
getMatrix
public final JobMatrix getMatrix()
Description copied from interface:JobStrategy(experimental) You can define a matrix of different job configurations.A 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.
- Specified by:
getMatrixin interfaceJobStrategy
-
getMaxParallel
public final Number getMaxParallel()
Description copied from interface:JobStrategy(experimental) The maximum number of jobs that can run simultaneously when using a matrix job strategy.By default, GitHub will maximize the number of jobs run in parallel depending on the available runners on GitHub-hosted virtual machines.
- Specified by:
getMaxParallelin interfaceJobStrategy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-