Enum Class MergeQueueCheckResult.State

java.lang.Object
java.lang.Enum<MergeQueueCheckResult.State>
com.atlassian.bitbucket.pull.mergequeue.MergeQueueCheckResult.State
All Implemented Interfaces:
Serializable, Comparable<MergeQueueCheckResult.State>, Constable
Enclosing interface:
MergeQueueCheckResult

public static enum MergeQueueCheckResult.State extends Enum<MergeQueueCheckResult.State>
  • Enum Constant Details

    • ACCEPTED

      public static final MergeQueueCheckResult.State ACCEPTED
      Indicates that the check has finished and the queued pull request can be merged.
    • PENDING

      public static final MergeQueueCheckResult.State PENDING
      Indicates that the check is still waiting to finish. Checks in this state will be re-run during the next merge queue processing cycle.
    • REJECTED

      public static final MergeQueueCheckResult.State REJECTED
      Indicates that the check has finished and the pull request should be removed from the queue.
  • Method Details

    • values

      public static MergeQueueCheckResult.State[] 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 MergeQueueCheckResult.State 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