Enum ProgressLogger.NullProgressLogger

    • Method Detail

      • values

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

        public static ProgressLogger.NullProgressLogger valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • logProgress

        public void logProgress​(java.util.function.Supplier<java.lang.String> msgFactory)
        Specified by:
        logProgress in interface ProgressLogger
      • logProgress

        public void logProgress​(long progress,
                                java.util.function.Supplier<java.lang.String> msgFactory)
        Specified by:
        logProgress in interface ProgressLogger
      • logMessage

        public void logMessage​(java.util.function.Supplier<java.lang.String> msg)
        Specified by:
        logMessage in interface ProgressLogger
      • reset

        public void reset​(long newTaskVolume)
        Specified by:
        reset in interface ProgressLogger
      • logProgress

        public void logProgress​(double percentDone,
                                java.util.function.Supplier<java.lang.String> msg)
        Specified by:
        logProgress in interface ProgressLogger