Package org.azd.enums

Enum Class DefinitionTriggerType

java.lang.Object
java.lang.Enum<DefinitionTriggerType>
org.azd.enums.DefinitionTriggerType
All Implemented Interfaces:
Serializable, Comparable<DefinitionTriggerType>, Constable

public enum DefinitionTriggerType extends Enum<DefinitionTriggerType>
Represents a demand used by a definition or build.
  • Enum Constant Details

    • ALL

      public static final DefinitionTriggerType ALL
      All types.
    • BATCHEDCONTINUOUSINTEGRATION

      public static final DefinitionTriggerType BATCHEDCONTINUOUSINTEGRATION
      A build should be started for multiple changesets at a time at a specified interval.
    • BATCHEDGATEDCHECKIN

      public static final DefinitionTriggerType BATCHEDGATEDCHECKIN
      A validation build should be started for each batch of check-ins.
    • BUILDCOMPLETION

      public static final DefinitionTriggerType BUILDCOMPLETION
      A build should be triggered when another build completes.
    • CONTINUOUSINTEGRATION

      public static final DefinitionTriggerType CONTINUOUSINTEGRATION
      A build should be started for each changeset.
    • GATEDCHECKIN

      public static final DefinitionTriggerType GATEDCHECKIN
      A validation build should be started for each check-in.
    • NONE

      public static final DefinitionTriggerType NONE
      Manual builds only.
    • PULLREQUEST

      public static final DefinitionTriggerType PULLREQUEST
      A build should be triggered when a GitHub pull request is created or updated. Added in resource version 3
    • SCHEDULE

      public static final DefinitionTriggerType SCHEDULE
      A build should be started on a specified schedule whether or not changesets exist.
  • Method Details

    • values

      public static DefinitionTriggerType[] 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 DefinitionTriggerType 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