Class LoadImageUpdateEvent
java.lang.Object
org.springframework.boot.buildpack.platform.docker.UpdateEvent
org.springframework.boot.buildpack.platform.docker.ProgressUpdateEvent
org.springframework.boot.buildpack.platform.docker.LoadImageUpdateEvent
A
ProgressUpdateEvent
fired as an image is loaded.- Since:
- 2.3.0
- Author:
- Phillip Webb
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Details of an error embedded in a response stream.Nested classes/interfaces inherited from class org.springframework.boot.buildpack.platform.docker.ProgressUpdateEvent
ProgressUpdateEvent.ProgressDetail
-
Constructor Summary
ConstructorDescriptionLoadImageUpdateEvent
(String stream, String status, ProgressUpdateEvent.ProgressDetail progressDetail, String progress, LoadImageUpdateEvent.ErrorDetail errorDetail) -
Method Summary
Modifier and TypeMethodDescriptionReturn the error detail ornull
if no error occurred.Return the stream response ornull
if no response is available.Methods inherited from class org.springframework.boot.buildpack.platform.docker.ProgressUpdateEvent
getProgress, getProgressDetail, getStatus
-
Constructor Details
-
LoadImageUpdateEvent
public LoadImageUpdateEvent(String stream, String status, ProgressUpdateEvent.ProgressDetail progressDetail, String progress, LoadImageUpdateEvent.ErrorDetail errorDetail)
-
-
Method Details
-
getStream
Return the stream response ornull
if no response is available.- Returns:
- the stream response.
-
getErrorDetail
Return the error detail ornull
if no error occurred.- Returns:
- the error detail, if any
- Since:
- 3.2.12
-