public class ContainerStatus extends MappedObject
Docker container wait
から返されたステータスの詳細。MappedObject.ContentReader<C>
修飾子と型 | メソッドと説明 |
---|---|
int | getStatusCode() コンテナーの終了ステータスコードを返します。 |
StringSE | getWaitingErrorMessage() コンテナーの停止を待機しているエラーを示すメッセージを返します。 |
static ContainerStatus | of(InputStreamSE content) 指定された JSON コンテンツストリームから新しい ContainerStatus インスタンスを作成します。 |
static ContainerStatus | of(int statusCode, StringSE errorMessage) 指定された値で新しい ContainerStatus インスタンスを作成します。 |
getNode, getRoot, of, of, of, valueAt, valueAt
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public int getStatusCode()
public StringSE getWaitingErrorMessage()
public static ContainerStatus of(InputStreamSE content) throws IOExceptionSE
ContainerStatus
インスタンスを作成します。content
- JSON コンテンツストリーム ContainerStatus
インスタンス IOExceptionSE
- IO エラー時 public static ContainerStatus of(int statusCode, StringSE errorMessage)
ContainerStatus
インスタンスを作成します。statusCode
- ステータスコード errorMessage
- エラーメッセージ ContainerStatus
インスタンス