Class TotalProgressEvent

java.lang.Object
org.springframework.boot.buildpack.platform.docker.TotalProgressEvent

public class TotalProgressEvent extends Object
Event published by the TotalProgressPullListener showing the total progress of an operation.
Since:
2.3.0
Author:
Phillip Webb
  • Constructor Details

    • TotalProgressEvent

      public TotalProgressEvent(int percent)
      Create a new TotalProgressEvent with a specific percent value.
      Parameters:
      percent - the progress as a percentage
  • Method Details

    • getPercent

      public int getPercent()
      Return the total progress.
      Returns:
      the total progress