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
Nested ClassesModifier and TypeClassDescriptionstatic classDetails of an error embedded in a response stream.Nested classes/interfaces inherited from class ProgressUpdateEvent
ProgressUpdateEvent.ProgressDetail -
Constructor Summary
ConstructorsConstructorDescriptionLoadImageUpdateEvent(@Nullable String stream, String status, ProgressUpdateEvent.ProgressDetail progressDetail, String progress, @Nullable LoadImageUpdateEvent.ErrorDetail errorDetail) -
Method Summary
Modifier and TypeMethodDescription@Nullable LoadImageUpdateEvent.ErrorDetailReturn the error detail ornullif no error occurred.@Nullable StringReturn the stream response ornullif no response is available.Methods inherited from class ProgressUpdateEvent
getProgress, getProgressDetail, getStatus
-
Constructor Details
-
LoadImageUpdateEvent
public LoadImageUpdateEvent(@Nullable String stream, String status, ProgressUpdateEvent.ProgressDetail progressDetail, String progress, @Nullable LoadImageUpdateEvent.ErrorDetail errorDetail)
-
-
Method Details
-
getStream
Return the stream response ornullif no response is available.- Returns:
- the stream response.
-
getErrorDetail
Return the error detail ornullif no error occurred.- Returns:
- the error detail, if any
- Since:
- 3.2.12
-