类 ProgressUpdateEvent
java.lang.Object
org.springframework.boot.buildpack.platform.docker.UpdateEvent
org.springframework.boot.buildpack.platform.docker.ProgressUpdateEvent
An
UpdateEvent
that includes progress information.- 从以下版本开始:
- 2.3.0
- 作者:
- Phillip Webb, Wolfgang Kronberg
-
嵌套类概要
嵌套类修饰符和类型类说明static class
Provide details about the progress of a task. -
构造器概要
构造器限定符构造器说明protected
ProgressUpdateEvent
(String status, ProgressUpdateEvent.ProgressDetail progressDetail, String progress) -
方法概要
修饰符和类型方法说明Return a text based progress bar if progress information is available.Return progress details if available.Return the status for the update.
-
构造器详细资料
-
ProgressUpdateEvent
protected ProgressUpdateEvent(String status, ProgressUpdateEvent.ProgressDetail progressDetail, String progress)
-
-
方法详细资料
-
getStatus
Return the status for the update. For example, "Extracting" or "Downloading".- 返回:
- the status of the update.
-
getProgressDetail
Return progress details if available.- 返回:
- progress details or
null
-
getProgress
Return a text based progress bar if progress information is available.- 返回:
- the progress bar or
null
-