Interface ProgressMessage
-
@Immutable public interface ProgressMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceProgressMessage.Builder
-
Field Summary
Fields Modifier and Type Field Description static StringSTATUS_DIGEST_PREFIX_16static StringSTATUS_DIGEST_PREFIX_18static StringSTATUS_SIZE_PREFIX_18
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ProgressMessage.Builderbuilder()default StringbuildImageId()Checks if the stream field contains a string a like "Successfully built 2d6e00052167", and if so, returns the image id.default Stringdigest()Stringerror()Stringid()Stringprogress()ProgressDetailprogressDetail()Stringstatus()Stringstream()
-
-
-
Field Detail
-
STATUS_DIGEST_PREFIX_16
static final String STATUS_DIGEST_PREFIX_16
- See Also:
- Constant Field Values
-
STATUS_DIGEST_PREFIX_18
static final String STATUS_DIGEST_PREFIX_18
- See Also:
- Constant Field Values
-
STATUS_SIZE_PREFIX_18
static final String STATUS_SIZE_PREFIX_18
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
String id()
-
status
String status()
-
stream
String stream()
-
error
String error()
-
progress
String progress()
-
progressDetail
ProgressDetail progressDetail()
-
builder
static ProgressMessage.Builder builder()
-
buildImageId
@Derived default String 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
@Derived default String digest()
-
-