Uses of Class
com.microsoft.azure.batch.protocol.models.TaskState
-
Packages that use TaskState Package Description com.microsoft.azure.batch.protocol.models This package contains the models classes for BatchServiceClient. -
-
Uses of TaskState in com.microsoft.azure.batch.protocol.models
Methods in com.microsoft.azure.batch.protocol.models that return TaskState Modifier and Type Method Description static TaskState
TaskState. fromString(String value)
Parses a serialized value to a TaskState instance.TaskState
CloudTask. previousState()
Get this property is not set if the Task is in its initial Active state.TaskState
CloudTask. state()
Get possible values include: 'active', 'preparing', 'running', 'completed'.TaskState
TaskInformation. taskState()
Get possible values include: 'active', 'preparing', 'running', 'completed'.static TaskState
TaskState. valueOf(String name)
Returns the enum constant of this type with the specified name.static TaskState[]
TaskState. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.microsoft.azure.batch.protocol.models with parameters of type TaskState Modifier and Type Method Description CloudTask
CloudTask. withPreviousState(TaskState previousState)
Set this property is not set if the Task is in its initial Active state.CloudTask
CloudTask. withState(TaskState state)
Set possible values include: 'active', 'preparing', 'running', 'completed'.TaskInformation
TaskInformation. withTaskState(TaskState taskState)
Set possible values include: 'active', 'preparing', 'running', 'completed'.
-