Class DefaultDockerClient.LoadProgressHandler

  • All Implemented Interfaces:
    ProgressHandler
    Enclosing class:
    DefaultDockerClient

    private static class DefaultDockerClient.LoadProgressHandler
    extends java.lang.Object
    implements ProgressHandler
    Hack: this ProgressHandler is meant to capture the image names of an image being loaded. Weirdly enough, Docker returns the name of a newly created image in the stream of a progress message.
    • Field Detail

      • IMAGE_STREAM_PATTERN

        private static final java.util.regex.Pattern IMAGE_STREAM_PATTERN
      • imageNames

        private java.util.Set<java.lang.String> imageNames
    • Constructor Detail

      • LoadProgressHandler

        private LoadProgressHandler​(ProgressHandler delegate)
    • Method Detail

      • getImageNames

        private java.util.Set<java.lang.String> getImageNames()