Class ProgressInfo

  • Direct Known Subclasses:
    BoundedProgressInfo

    public class ProgressInfo
    extends java.lang.Object
    Represents progress of an indeterminate operation where the maximum progress value is not known until completion.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected long current
      The current progress value
      protected java.lang.String stage
      A title representing the current stage, may be null or blank if progress publisher does not populate it!
    • Constructor Summary

      Constructors 
      Constructor Description
      ProgressInfo​(java.lang.String stage, long current)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • stage

        protected final java.lang.String stage
        A title representing the current stage, may be null or blank if progress publisher does not populate it!
      • current

        protected final long current
        The current progress value
    • Constructor Detail

      • ProgressInfo

        public ProgressInfo​(java.lang.String stage,
                            long current)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object