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.Builderbuilder()Checks if the stream field contains a string a like "Successfully built 2d6e00052167", and if so, returns the image id.(package private) static ProgressMessagecreate(String id, String status, String stream, String error, String progress, ProgressDetail progressDetail) digest()abstract Stringerror()abstract Stringid()abstract Stringprogress()abstract ProgressDetailabstract Stringstatus()abstract Stringstream()
-
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
-