Enum Class BuildState

java.lang.Object
java.lang.Enum<BuildState>
org.jenkinsci.plugins.githubautostatus.model.BuildState
All Implemented Interfaces:
Serializable, Comparable<BuildState>, Constable

public enum BuildState extends Enum<BuildState>
Possible build states for notification.
Author:
Jeff Pearce (GitHub jeffpearce)
  • Enum Constant Details

    • Unknown

      public static final BuildState Unknown
    • CompletedSuccess

      public static final BuildState CompletedSuccess
    • CompletedError

      public static final BuildState CompletedError
    • Unstable

      public static final BuildState Unstable
    • NotBuild

      public static final BuildState NotBuild
    • Aborted

      public static final BuildState Aborted
  • Method Details

    • values

      public static BuildState[] 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 BuildState 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
    • fromResult

      @Nonnull public static BuildState fromResult(Result result)