Package net.morimekta.console.terminal
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.
-