Enum LogEntryKind

    • Enum Constant Detail

      • OUTPUT

        public static final LogEntryKind OUTPUT
        A regular output log message.
      • WARNING

        public static final LogEntryKind WARNING
        A log identifying a warning message.
      • ERROR

        public static final LogEntryKind ERROR
        A log identifying an error message.
      • PROGRESS

        public static final LogEntryKind PROGRESS
        A log identifying a progress information.
    • Method Detail

      • values

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

        public static LogEntryKind 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
      • getName

        public String getName()
        Returns the name of log type.
        Returns:
        the name of log type.