Enum PodPhase

    • Enum Constant Detail

      • 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 Detail

      • ACTIVE_PHASES

        public static final List<PodPhase> ACTIVE_PHASES
    • Method Detail

      • values

        public static PodPhase[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PodPhase c : PodPhase.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PodPhase 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
      • 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)