类 TotalProgressBar
java.lang.Object
org.springframework.boot.buildpack.platform.docker.TotalProgressBar
- 所有已实现的接口:
Consumer<TotalProgressEvent>
Utility to render a simple progress bar based on consumed
TotalProgressEvent
objects.- 从以下版本开始:
- 2.3.0
- 作者:
- Phillip Webb
-
构造器概要
构造器构造器说明TotalProgressBar
(String prefix) Create a newTotalProgressBar
instance.TotalProgressBar
(String prefix, char progressChar, boolean bookend, PrintStream out) Create a newTotalProgressBar
instance.TotalProgressBar
(String prefix, PrintStream out) Create a newTotalProgressBar
instance. -
方法概要
-
构造器详细资料
-
TotalProgressBar
Create a newTotalProgressBar
instance.- 参数:
prefix
- the prefix to output
-
TotalProgressBar
Create a newTotalProgressBar
instance.- 参数:
prefix
- the prefix to outputout
- the output print stream to use
-
TotalProgressBar
Create a newTotalProgressBar
instance.- 参数:
prefix
- the prefix to outputprogressChar
- the progress char to printbookend
- if bookends should be printedout
- the output print stream to use
-
-
方法详细资料
-
accept
- 指定者:
accept
在接口中Consumer<TotalProgressEvent>
-