Enum ExternalStatus

  • All Implemented Interfaces:
    Serializable, Comparable<ExternalStatus>

    public enum ExternalStatus
    extends Enum<ExternalStatus>
    Represents an external status. This status is currently used for <> and <>, and allows an external system to update status of objects it is aware of.
    • Enum Constant Detail

      • ERROR

        public static final ExternalStatus ERROR
        Error status. There is some kind of error in the relevant object.
      • FAILURE

        public static final ExternalStatus FAILURE
        Failure status. The relevant object is failing.
      • INFO

        public static final ExternalStatus INFO
        Info status. The relevant object is in OK status, but there is an information available that might be relevant for the administrator.
      • OK

        public static final ExternalStatus OK
        OK status. The relevant object is working well.
      • WARNING

        public static final ExternalStatus WARNING
        Warning status. The relevant object is working well, but there is some warning that might be relevant for the administrator.
    • Method Detail

      • values

        public static ExternalStatus[] 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 (ExternalStatus c : ExternalStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ExternalStatus 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
      • value

        public String value()