Class JobMatrix.Jsii$Proxy

  • All Implemented Interfaces:
    JobMatrix, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    JobMatrix

    @Stability(Experimental)
    @Internal
    public static final class JobMatrix.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements JobMatrix
    An implementation for JobMatrix
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(JobMatrix.Builder builder)
      Constructor that initializes the object based on literal property values passed by the JobMatrix.Builder.
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
    • 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​(JobMatrix.Builder builder)
        Constructor that initializes the object based on literal property values passed by the JobMatrix.Builder.
    • Method Detail

      • getDomain

        public final Map<String,​List<Object>> getDomain()
        Description copied from interface: JobMatrix
        (experimental) Each option you define in the matrix has a key and value.

        The keys you define become properties in the matrix context and you can reference the property in other areas of your workflow file. For example, if you define the key os that contains an array of operating systems, you can use the matrix.os property as the value of the runs-on keyword to create a job for each operating system.

        Specified by:
        getDomain in interface JobMatrix
      • getExclude

        public final List<Map<String,​Object>> getExclude()
        Description copied from interface: JobMatrix
        (experimental) You can remove a specific configurations defined in the build matrix using the exclude option.

        Using exclude removes a job defined by the build matrix.

        Specified by:
        getExclude in interface JobMatrix
      • getInclude

        public final List<Map<String,​Object>> getInclude()
        Description copied from interface: JobMatrix
        (experimental) You can add additional configuration options to a build matrix job that already exists.

        For example, if you want to use a specific version of npm when the job that uses windows-latest and version 8 of node runs, you can use include to specify that additional option.

        Specified by:
        getInclude in interface JobMatrix
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object