类 ContainerStatus
java.lang.Object
cn.taketoday.buildpack.platform.json.MappedObject
cn.taketoday.buildpack.platform.docker.type.ContainerStatus
Status details returned from
Docker container wait.- 从以下版本开始:
- 4.0
- 作者:
- Scott Frederick
-
嵌套类概要
从类继承的嵌套类/接口 cn.taketoday.buildpack.platform.json.MappedObject
MappedObject.ContentReader<C> -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明intReturn the container exit status code.Return a message indicating an error waiting for a container to stop.static ContainerStatusCreate a newContainerStatusinstance with the specified values.static ContainerStatusof(InputStream content) Create a newContainerStatusinstance from the specified JSON content stream.
-
字段详细资料
-
statusCode
private final int statusCode -
waitingErrorMessage
-
-
构造器详细资料
-
方法详细资料
-
getStatusCode
public int getStatusCode()Return the container exit status code.- 返回:
- the exit status code
-
getWaitingErrorMessage
Return a message indicating an error waiting for a container to stop.- 返回:
- the waiting error message
-
of
Create a newContainerStatusinstance from the specified JSON content stream.- 参数:
content- the JSON content stream- 返回:
- a new
ContainerStatusinstance - 抛出:
IOException- on IO error
-
of
Create a newContainerStatusinstance with the specified values.- 参数:
statusCode- the status codeerrorMessage- the error message- 返回:
- a new
ContainerStatusinstance
-