public class BuildImageResultCallback extends ResultCallbackTemplate<BuildImageResultCallback,BuildResponseItem>
ResultCallback.Adapter<A_RES_T>| Constructor and Description |
|---|
BuildImageResultCallback() |
| Modifier and Type | Method and Description |
|---|---|
String |
awaitImageId()
Awaits the image id from the response stream.
|
String |
awaitImageId(long timeout,
TimeUnit timeUnit)
Awaits the image id from the response stream.
|
void |
onNext(BuildResponseItem item)
Called when an async result event occurs
|
awaitCompletion, awaitCompletion, awaitStarted, awaitStarted, close, onComplete, onError, onStart, throwFirstErrorpublic void onNext(BuildResponseItem item)
ResultCallbackpublic String awaitImageId()
DockerClientException - if the build fails.public String awaitImageId(long timeout, TimeUnit timeUnit)
DockerClientException - if the build fails or the timeout occurs.Copyright © 2025. All rights reserved.