类 ProgressUpdateEvent.ProgressDetail

java.lang.Object
cn.taketoday.buildpack.platform.docker.ProgressUpdateEvent.ProgressDetail
封闭类:
ProgressUpdateEvent

public static class ProgressUpdateEvent.ProgressDetail extends Object
Provide details about the progress of a task.
  • 字段详细资料

    • current

      private final Integer current
    • total

      private final Integer total
  • 构造器详细资料

    • ProgressDetail

      public ProgressDetail(Integer current, Integer total)
  • 方法详细资料

    • getCurrent

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

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

      public static boolean isEmpty(ProgressUpdateEvent.ProgressDetail progressDetail)