Class ProgressUpdateEvent.ProgressDetail

java.lang.Object
org.springframework.boot.buildpack.platform.docker.ProgressUpdateEvent.ProgressDetail
Enclosing class:
ProgressUpdateEvent

public static class ProgressUpdateEvent.ProgressDetail extends Object
Provide details about the progress of a task.
  • Constructor Details

    • ProgressDetail

      public ProgressDetail(Integer current, Integer total)
  • Method Details

    • getCurrent

      public int getCurrent()
      Return the current progress value.
      Returns:
      the current progress
    • getTotal

      public int getTotal()
      Return the total progress possible value.
      Returns:
      the total progress possible
    • isEmpty

      public static boolean isEmpty(ProgressUpdateEvent.ProgressDetail progressDetail)