修飾子と型 | メソッドと説明 |
---|---|
ContainerReference | create(ContainerConfig config, ContainerContent... contents) 新しいコンテナー ContainerConfig を作成します。 |
void | logs(ContainerReference reference, UpdateListener<LogUpdateEvent> listener) 特定のコンテナーのログを返し、フォローします。 |
void | remove(ContainerReference reference, boolean force) 特定のコンテナーを削除します。 |
void | start(ContainerReference reference) 特定のコンテナーを起動します。 |
ContainerStatus | wait(ContainerReference reference) コンテナーが停止してステータスを取得するまで待ちます。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public ContainerReference create(ContainerConfig config, ContainerContent... contents) throws IOExceptionSE
ContainerConfig
を作成します。config
- コンテナー構成 contents
- 含める追加コンテンツ ContainerReference
IOExceptionSE
- IO エラー時 public void start(ContainerReference reference) throws IOExceptionSE
reference
- 開始するコンテナー参照 IOExceptionSE
- IO エラー時 public void logs(ContainerReference reference, UpdateListener<LogUpdateEvent> listener) throws IOExceptionSE
reference
- コンテナーリファレンス listener
- ログ更新イベントを受信するリスナー IOExceptionSE
- IO エラー時 public ContainerStatus wait(ContainerReference reference) throws IOExceptionSE
reference
- コンテナーリファレンス ContainerStatus
IOExceptionSE
- IO エラー時 public void remove(ContainerReference reference, boolean force) throws IOExceptionSE
reference
- 削除するコンテナー force
- 削除を強制する必要がある場合 IOExceptionSE
- IO エラー時