Class Progress

    • Field Detail

      • startTime

        protected long startTime
    • Constructor Detail

      • Progress

        public Progress()
      • Progress

        public Progress​(String name)
    • Method Detail

      • completedWithErrors

        public void completedWithErrors​(Exception reason)
      • setFinished

        public void setFinished()
        Work complete. Does NOT imply success, only that no more processing will be done
      • setSuccessfullyCompleted

        public void setSuccessfullyCompleted()
        Work has been successfully completed. Current will be one less than max.
      • isFinished

        public boolean isFinished()
      • getMax

        public int getMax()
      • setMax

        public void setMax​(int max)
      • getCurrent

        public int getCurrent()
      • setCurrent

        public void setCurrent​(int current)
      • incCurrent

        public void incCurrent()
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getElapsedTime

        public long getElapsedTime()
      • setElapsedTime

        public void setElapsedTime​(long elapsedTime)
      • withReason

        public void withReason​(Exception reason)
      • getReasonMessage

        public String getReasonMessage()
      • setReasonMessage

        public void setReasonMessage​(String reasonMessage)