Class ProgressInfo


  • public class ProgressInfo
    extends Object
    Progress information. Provides information about how much part of work has already done.

    Value object.

    • Constructor Detail

    • Method Detail

      • getDone

        public long getDone()
        Returns how many conditional units of work have already done.
        Returns:
        see above.
        See Also:
        getPercent()
      • getDoneHumanized

        public String getDoneHumanized()
      • getEstimated

        public long getEstimated()
        Returns the work estimation in conditional units.
        Returns:
        see above.
      • getEstimatedHumanized

        public String getEstimatedHumanized()
      • getPhase

        public String getPhase()
        Returns the current work phase as a human readable phrase.
        Returns:
        see above.
      • getPercent

        public int getPercent()
        Returns an amount of completed work in percent, that is equivalent to getDone() / getEstimated() * 100%.
        Returns:
        an amount of completed work in percent