Enum WindowsScheduledTask.TaskTrigger.TriggerType (0.3.0)

public enum WindowsScheduledTask.TaskTrigger.TriggerType extends Enum<WindowsScheduledTask.TaskTrigger.TriggerType> implements ProtocolMessageEnum

Enum representing the trigger type of the task. For more details, see https://learn.microsoft.com/en-us/windows/win32/api/taskschd/ne-taskschd-task_trigger_type2.

Protobuf enum google.backstory.WindowsScheduledTask.TaskTrigger.TriggerType

Implements

ProtocolMessageEnum

Static Fields

Name Description
BOOT

Triggers the task when the computer boots.

BOOT = 9;

BOOT_VALUE

Triggers the task when the computer boots.

BOOT = 9;

CUSTOM_TRIGGER01

Custom trigger 01.

CUSTOM_TRIGGER01 = 12;

CUSTOM_TRIGGER01_VALUE

Custom trigger 01.

CUSTOM_TRIGGER01 = 12;

DAILY

Triggers the task on a daily schedule. For example, the task starts at a specific time every day, every other day, or every third day.

DAILY = 3;

DAILY_VALUE

Triggers the task on a daily schedule. For example, the task starts at a specific time every day, every other day, or every third day.

DAILY = 3;

EVENT

Triggers the task when a specific event occurs.

EVENT = 1;

EVENT_VALUE

Triggers the task when a specific event occurs.

EVENT = 1;

IDLE

Triggers the task when the computer goes into an idle state.

IDLE = 7;

IDLE_VALUE

Triggers the task when the computer goes into an idle state.

IDLE = 7;

LOGON

Triggers the task when a specific user logs on.

LOGON = 10;

LOGON_VALUE

Triggers the task when a specific user logs on.

LOGON = 10;

MONTHLY

Triggers the task on a monthly schedule. For example, the task starts on specific days of specific months.

MONTHLY = 5;

MONTHLYDOW

Triggers the task on a monthly day-of-week schedule. For example, the task starts on a specific days of the week, weeks of the month, and months of the year.

MONTHLYDOW = 6;

MONTHLYDOW_VALUE

Triggers the task on a monthly day-of-week schedule. For example, the task starts on a specific days of the week, weeks of the month, and months of the year.

MONTHLYDOW = 6;

MONTHLY_VALUE

Triggers the task on a monthly schedule. For example, the task starts on specific days of specific months.

MONTHLY = 5;

REGISTRATION

Triggers the task when the task is registered.

REGISTRATION = 8;

REGISTRATION_VALUE

Triggers the task when the task is registered.

REGISTRATION = 8;

SESSION_STATE_CHANGE

Triggers the task when a specific user session state changes.

SESSION_STATE_CHANGE = 11;

SESSION_STATE_CHANGE_VALUE

Triggers the task when a specific user session state changes.

SESSION_STATE_CHANGE = 11;

TIME

Triggers the task at a specific time of day.

TIME = 2;

TIME_VALUE

Triggers the task at a specific time of day.

TIME = 2;

TRIGGER_TYPE_UNSPECIFIED

The trigger frequency is not specified.

TRIGGER_TYPE_UNSPECIFIED = 0;

TRIGGER_TYPE_UNSPECIFIED_VALUE

The trigger frequency is not specified.

TRIGGER_TYPE_UNSPECIFIED = 0;

UNRECOGNIZED
WEEKLY

Triggers the task on a weekly schedule. For example, the task starts at 8:00 AM on a specific day every week or other week.

WEEKLY = 4;

WEEKLY_VALUE

Triggers the task on a weekly schedule. For example, the task starts at 8:00 AM on a specific day every week or other week.

WEEKLY = 4;

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()