Enum GHDeploymentState

java.lang.Object
java.lang.Enum<GHDeploymentState>
org.kohsuke.github.GHDeploymentState
All Implemented Interfaces:
Serializable, Comparable<GHDeploymentState>

public enum GHDeploymentState extends Enum<GHDeploymentState>
Represents the state of deployment.
  • Enum Constant Details

    • PENDING

      public static final GHDeploymentState PENDING
      The pending.
    • SUCCESS

      public static final GHDeploymentState SUCCESS
      The success.
    • ERROR

      public static final GHDeploymentState ERROR
      The error.
    • FAILURE

      public static final GHDeploymentState FAILURE
      The failure.
    • IN_PROGRESS

      public static final GHDeploymentState IN_PROGRESS
      The state of the deployment currently reflects it's in progress.
    • QUEUED

      public static final GHDeploymentState QUEUED
      The state of the deployment currently reflects it's queued up for processing.
    • INACTIVE

      public static final GHDeploymentState INACTIVE
      The state of the deployment currently reflects it's no longer active.
  • Method Details

    • values

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

      public static GHDeploymentState valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null