TaskContainerExecutionInformation 类

定义

Contains information about the container which a task is executing.

public class TaskContainerExecutionInformation
继承
java.lang.Object
TaskContainerExecutionInformation

方法

containerId()

Get the containerId value.

error()

Get this is the detailed error string from the Docker service, if available. It is equivalent to the error field returned by "docker inspect".

state()

Get this is the state of the container according to the Docker service. It is equivalent to the status field returned by "docker inspect".

withContainerId(String containerId)

Set the containerId value.

withError(String error)

Set this is the detailed error string from the Docker service, if available. It is equivalent to the error field returned by "docker inspect".

withState(String state)

Set this is the state of the container according to the Docker service. It is equivalent to the status field returned by "docker inspect".

适用于