Interface Progress

All Known Subinterfaces:
ProgressReporter
All Known Implementing Classes:
Progress.Default, ProgressMonitor, ProgressMonitor.DelegatingProgressMonitor, ProgressMonitor.ReportingProgressMonitor

public interface Progress
Read-Only interface for progress info.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Immutable default implementation of a progress
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the current progress value
    default boolean
     
    long
    Returns the maximum progress value for this monitor
    Returns the current stage of the process, or null if none.
  • Method Details

    • maxProgress

      long maxProgress()
      Returns the maximum progress value for this monitor
    • current

      long current()
      Returns the current progress value
    • stage

      String stage()
      Returns the current stage of the process, or null if none.
    • hasProgress

      default boolean hasProgress()