Class TotalProgressEvent
java.lang.Object
org.springframework.boot.buildpack.platform.docker.TotalProgressEvent
Event published by the
TotalProgressPullListener
showing the total progress of
an operation.- Since:
- 2.3.0
- Author:
- Phillip Webb
-
Constructor Summary
ConstructorDescriptionTotalProgressEvent
(int percent) Create a newTotalProgressEvent
with a specific percent value. -
Method Summary
-
Constructor Details
-
TotalProgressEvent
public TotalProgressEvent(int percent) Create a newTotalProgressEvent
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
-