Class ProgressState


  • public class ProgressState
    extends java.lang.Object
    Encapsulates the internal states of a progress bar.
    Since:
    0.5.0
    Author:
    Tongfei Chen
    • Method Detail

      • getTaskName

        public java.lang.String getTaskName()
      • getExtraMessage

        public java.lang.String getExtraMessage()
      • getStart

        public long getStart()
      • getCurrent

        public long getCurrent()
      • getMax

        public long getMax()
      • getNormalizedProgress

        public double getNormalizedProgress()
      • getStartInstant

        public java.time.Instant getStartInstant()
      • getElapsedBeforeStart

        public java.time.Duration getElapsedBeforeStart()
      • getElapsedAfterStart

        public java.time.Duration getElapsedAfterStart()
      • getTotalElapsed

        public java.time.Duration getTotalElapsed()
      • isIndefinite

        public boolean isIndefinite()
      • isAlive

        public boolean isAlive()
      • isPaused

        public boolean isPaused()