Interface ProgressTask

  • All Superinterfaces:
    java.lang.AutoCloseable, java.util.function.LongConsumer
    All Known Implementing Classes:
    Progress

    public interface ProgressTask
    extends java.util.function.LongConsumer, java.lang.AutoCloseable
    Show progress on a single task in how many percent (with spinner and progress-bar). If closed before finished (updated with the total progress value), it is considered 'cancelled'.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()  
      boolean isDone()
      If the progress task is done or aborted.
      • Methods inherited from interface java.util.function.LongConsumer

        accept, andThen
    • Method Detail

      • close

        void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • isDone

        boolean isDone()
        If the progress task is done or aborted.
        Returns:
        True if done.