Enum Class PodPhase

java.lang.Object
java.lang.Enum<PodPhase>
com.atlassian.bamboo.agent.ephemeral.PodPhase
All Implemented Interfaces:
Serializable, Comparable<PodPhase>, Constable

public enum PodPhase extends Enum<PodPhase>
Since:
9.3
  • Enum Constant Details

    • PENDING

      public static final PodPhase PENDING
      Pod creation has been requested
    • RUNNING

      public static final PodPhase RUNNING
      At least one of pod's containers started with status OK
    • SUCCEEDED

      public static final PodPhase SUCCEEDED
      Containers in the pod terminated with success
    • FAILED

      public static final PodPhase FAILED
      Containers in the pod terminated with failure
    • UNDEFINED

      public static final PodPhase UNDEFINED
      Status unknown
  • Field Details

    • ACTIVE_PHASES

      public static final List<PodPhase> ACTIVE_PHASES
  • Method Details

    • values

      public static PodPhase[] 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 PodPhase 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
    • getValue

      public String getValue()
    • isActive

      public boolean isActive()
    • getIcon

      public String getIcon()
    • isWorking

      public static boolean isWorking(PodPhase podPhase)
    • fromValue

      @NotNull public static @NotNull PodPhase fromValue(@Nullable @Nullable String value)