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.
Since:
2.3.0
Author:
Phillip Webb, Wolfgang Kronberg
  • Constructor Details

    • ProgressDetail

      public ProgressDetail(@Nullable Long current, @Nullable Long total)
  • Method Details

    • asPercentage

      public int asPercentage()
      Return the progress as a percentage.
      Returns:
      the progress percentage
      Since:
      3.3.7