Enum WindowsScheduledTask.TaskState (0.3.0)

public enum WindowsScheduledTask.TaskState extends Enum<WindowsScheduledTask.TaskState> implements ProtocolMessageEnum

Enum representing the operation state of the task.

Protobuf enum google.backstory.WindowsScheduledTask.TaskState

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTIVE

The task is ready to be executed, but no instances are queued or running.

ACTIVE = 3;

ACTIVE_VALUE

The task is ready to be executed, but no instances are queued or running.

ACTIVE = 3;

DISABLED

The task is registered but is disabled and no instances of the task are queued or running. The task cannot be run until it is enabled.

DISABLED = 1;

DISABLED_VALUE

The task is registered but is disabled and no instances of the task are queued or running. The task cannot be run until it is enabled.

DISABLED = 1;

QUEUED

Instances of the task are queued.

QUEUED = 2;

QUEUED_VALUE

Instances of the task are queued.

QUEUED = 2;

RUNNING

One or more instances of the task are running.

RUNNING = 4;

RUNNING_VALUE

One or more instances of the task are running.

RUNNING = 4;

TASK_STATE_UNSPECIFIED

The state of the task is unknown or not specified.

TASK_STATE_UNSPECIFIED = 0;

TASK_STATE_UNSPECIFIED_VALUE

The state of the task is unknown or not specified.

TASK_STATE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()