/** * Awaits the image id from the response stream. * * @throws DockerClientException * if the build fails. */ public String awaitImageId() { try { awaitCompletion(); } catch (InterruptedException e) { throw new DockerClientException("", e); } return getImageId(); }
/** * Awaits the image id from the response stream. * * @throws DockerClientException * if the build fails or the timeout occurs. */ public String awaitImageId(long timeout, TimeUnit timeUnit) { try { awaitCompletion(timeout, timeUnit); } catch (InterruptedException e) { throw new DockerClientException("Awaiting image id interrupted: ", e); } return getImageId(); }
/** * Awaits the image id from the response stream. * * @throws DockerClientException * if the build fails. */ public String awaitImageId() { try { awaitCompletion(); } catch (InterruptedException e) { throw new DockerClientException("", e); } return getImageId(); }
/** * Awaits the image id from the response stream. * * @throws DockerClientException * if the build fails or the timeout occurs. */ public String awaitImageId(long timeout, TimeUnit timeUnit) { try { awaitCompletion(timeout, timeUnit); } catch (InterruptedException e) { throw new DockerClientException("Awaiting image id interrupted: ", e); } return getImageId(); }