Class ProgressMessage
java.lang.Object
com.spotify.docker.client.messages.ProgressMessage
- Direct Known Subclasses:
AutoValue_ProgressMessage
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProgressMessage.Builder
builder()
Checks if the stream field contains a string a like "Successfully built 2d6e00052167", and if so, returns the image id.(package private) static ProgressMessage
create
(String id, String status, String stream, String error, String progress, ProgressDetail progressDetail) digest()
abstract String
error()
abstract String
id()
abstract String
progress()
abstract ProgressDetail
abstract String
status()
abstract String
stream()
-
Field Details
-
STATUS_DIGEST_PREFIX_16
- See Also:
-
STATUS_DIGEST_PREFIX_18
- See Also:
-
STATUS_SIZE_PREFIX_18
- See Also:
-
-
Constructor Details
-
ProgressMessage
public ProgressMessage()
-
-
Method Details
-
id
-
status
-
stream
-
error
-
progress
-
progressDetail
-
create
static ProgressMessage create(String id, String status, String stream, String error, String progress, ProgressDetail progressDetail) -
builder
-
buildImageId
Checks if the stream field contains a string a like "Successfully built 2d6e00052167", and if so, returns the image id. Otherwise null is returned. This string is expected when an image is built successfully.- Returns:
- The image id if this is a build success message, otherwise null.
-
digest
-