Class ProgressBarBuilder


  • public class ProgressBarBuilder
    extends java.lang.Object
    Builder class for ProgressBars.
    Since:
    0.7.0
    • Field Detail

      • task

        private java.lang.String task
      • initialMax

        private long initialMax
      • updateIntervalMillis

        private int updateIntervalMillis
      • continuousUpdate

        private boolean continuousUpdate
      • clearDisplayOnFinish

        private boolean clearDisplayOnFinish
      • unitName

        private java.lang.String unitName
      • unitSize

        private long unitSize
      • showSpeed

        private boolean showSpeed
      • hideEta

        private boolean hideEta
      • eta

        private java.util.function.Function<ProgressState,​java.util.Optional<java.time.Duration>> eta
      • speedFormat

        private java.text.DecimalFormat speedFormat
      • speedUnit

        private java.time.temporal.ChronoUnit speedUnit
      • processed

        private long processed
      • elapsed

        private java.time.Duration elapsed
      • maxRenderedLength

        private int maxRenderedLength
    • Constructor Detail

      • ProgressBarBuilder

        public ProgressBarBuilder()