java.lang.Object
java.lang.Enum<JobType>
com.yahoo.vespa.hosted.controller.api.integration.deployment.JobType
All Implemented Interfaces:
Serializable, Comparable<JobType>, Constable

public enum JobType extends Enum<JobType>
Job types that exist in the build system
  • Enum Constant Details

    • systemTest

      public static final JobType systemTest
    • stagingTest

      public static final JobType stagingTest
    • productionUsEast3

      public static final JobType productionUsEast3
    • testUsEast3

      public static final JobType testUsEast3
    • productionUsWest1

      public static final JobType productionUsWest1
    • testUsWest1

      public static final JobType testUsWest1
    • productionUsCentral1

      public static final JobType productionUsCentral1
    • testUsCentral1

      public static final JobType testUsCentral1
    • productionApNortheast1

      public static final JobType productionApNortheast1
    • testApNortheast1

      public static final JobType testApNortheast1
    • productionApNortheast2

      public static final JobType productionApNortheast2
    • testApNortheast2

      public static final JobType testApNortheast2
    • productionApSoutheast1

      public static final JobType productionApSoutheast1
    • testApSoutheast1

      public static final JobType testApSoutheast1
    • productionEuWest1

      public static final JobType productionEuWest1
    • testEuWest1

      public static final JobType testEuWest1
    • productionAwsUsEast1a

      public static final JobType productionAwsUsEast1a
    • testAwsUsEast1a

      public static final JobType testAwsUsEast1a
    • productionAwsUsEast1c

      public static final JobType productionAwsUsEast1c
    • testAwsUsEast1c

      public static final JobType testAwsUsEast1c
    • productionAwsApNortheast1a

      public static final JobType productionAwsApNortheast1a
    • testAwsApNortheast1a

      public static final JobType testAwsApNortheast1a
    • productionAwsEuWest1a

      public static final JobType productionAwsEuWest1a
    • testAwsEuWest1a

      public static final JobType testAwsEuWest1a
    • productionAwsUsWest2a

      public static final JobType productionAwsUsWest2a
    • testAwsUsWest2a

      public static final JobType testAwsUsWest2a
    • productionAwsUsEast1b

      public static final JobType productionAwsUsEast1b
    • testAwsUsEast1b

      public static final JobType testAwsUsEast1b
    • devUsEast1

      public static final JobType devUsEast1
    • devAwsUsEast2a

      public static final JobType devAwsUsEast2a
    • productionCdAwsUsEast1a

      public static final JobType productionCdAwsUsEast1a
    • testCdAwsUsEast1a

      public static final JobType testCdAwsUsEast1a
    • productionCdUsCentral1

      public static final JobType productionCdUsCentral1
    • testCdUsCentral1

      public static final JobType testCdUsCentral1
    • productionCdUsCentral2

      public static final JobType productionCdUsCentral2
    • testCdUsCentral2

      public static final JobType testCdUsCentral2
    • productionCdUsEast1

      public static final JobType productionCdUsEast1
    • testCdUsEast1

      public static final JobType testCdUsEast1
    • productionCdUsWest1

      public static final JobType productionCdUsWest1
    • testCdUsWest1

      public static final JobType testCdUsWest1
    • devCdUsCentral1

      public static final JobType devCdUsCentral1
    • devCdUsWest1

      public static final JobType devCdUsWest1
    • devAwsUsEast1c

      public static final JobType devAwsUsEast1c
    • perfAwsUsEast1c

      public static final JobType perfAwsUsEast1c
    • perfUsEast3

      public static final JobType perfUsEast3
  • Method Details

    • values

      public static JobType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JobType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • jobName

      public String jobName()
    • zone

      public com.yahoo.config.provision.zone.ZoneId zone(com.yahoo.config.provision.SystemName system)
      Returns the zone for this job in the given system, or throws if this job does not have a zone
    • allIn

      public static List<JobType> allIn(com.yahoo.config.provision.SystemName system)
    • isProduction

      public boolean isProduction()
      Returns whether this is a production job
    • isTest

      public boolean isTest()
      Returns whether this job runs tests
    • isDeployment

      public boolean isDeployment()
      Returns whether this job deploys to a zone
    • environment

      public com.yahoo.config.provision.Environment environment()
      Returns the environment of this job type, or null if it does not have an environment
    • fromOptionalJobName

      public static Optional<JobType> fromOptionalJobName(String jobName)
    • fromJobName

      public static JobType fromJobName(String jobName)
    • from

      public static Optional<JobType> from(com.yahoo.config.provision.SystemName system, com.yahoo.config.provision.zone.ZoneId zone, boolean isTest)
      Returns the job type for the given zone
    • from

      public static Optional<JobType> from(com.yahoo.config.provision.SystemName system, com.yahoo.config.provision.zone.ZoneId zone)
      Returns the job type for the given zone
    • testFrom

      public static Optional<JobType> testFrom(com.yahoo.config.provision.SystemName system, com.yahoo.config.provision.RegionName region)
      Returns the production test job type for the given environment and region or null if none
    • from

      public static Optional<JobType> from(com.yahoo.config.provision.SystemName system, com.yahoo.config.provision.Environment environment, com.yahoo.config.provision.RegionName region)
      Returns the job job type for the given environment and region or null if none