TaskContainerExecutionInformation Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.TaskContainerExecutionInformation

public class TaskContainerExecutionInformation

Contains information about the container which a Task is executing.

Constructor Summary

Constructor Description
TaskContainerExecutionInformation()

Method Summary

Modifier and Type Method and Description
String containerId()

Get the containerId value.

String error()

Get this is the detailed error string from the Docker service, if available.

String state()

Get this is the state of the container according to the Docker service.

TaskContainerExecutionInformation withContainerId(String containerId)

Set the containerId value.

TaskContainerExecutionInformation withError(String error)

Set this is the detailed error string from the Docker service, if available.

TaskContainerExecutionInformation withState(String state)

Set this is the state of the container according to the Docker service.

Methods inherited from java.lang.Object

Constructor Details

TaskContainerExecutionInformation

public TaskContainerExecutionInformation()

Method Details

containerId

public String containerId()

Get the containerId value.

Returns:

the containerId value

error

public String 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".

Returns:

the error value

state

public String 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".

Returns:

the state value

withContainerId

public TaskContainerExecutionInformation withContainerId(String containerId)

Set the containerId value.

Parameters:

containerId - the containerId value to set

Returns:

the TaskContainerExecutionInformation object itself.

withError

public TaskContainerExecutionInformation 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".

Parameters:

error - the error value to set

Returns:

the TaskContainerExecutionInformation object itself.

withState

public TaskContainerExecutionInformation 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".

Parameters:

state - the state value to set

Returns:

the TaskContainerExecutionInformation object itself.

Applies to