public enum WindowsScheduledTask.TaskTrigger.TriggerType extends Enum<WindowsScheduledTask.TaskTrigger.TriggerType> implements ProtocolMessageEnumEnum 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
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
BOOT |
Triggers the task when the computer boots. |
BOOT_VALUE |
Triggers the task when the computer boots. |
CUSTOM_TRIGGER01 |
Custom trigger 01. |
CUSTOM_TRIGGER01_VALUE |
Custom trigger 01. |
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_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. |
EVENT |
Triggers the task when a specific event occurs. |
EVENT_VALUE |
Triggers the task when a specific event occurs. |
IDLE |
Triggers the task when the computer goes into an idle state. |
IDLE_VALUE |
Triggers the task when the computer goes into an idle state. |
LOGON |
Triggers the task when a specific user logs on. |
LOGON_VALUE |
Triggers the task when a specific user logs on. |
MONTHLY |
Triggers the task on a monthly schedule. For example, the task starts on specific days of specific months. |
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_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. |
MONTHLY_VALUE |
Triggers the task on a monthly schedule. For example, the task starts on specific days of specific months. |
REGISTRATION |
Triggers the task when the task is registered. |
REGISTRATION_VALUE |
Triggers the task when the task is registered. |
SESSION_STATE_CHANGE |
Triggers the task when a specific user session state changes. |
SESSION_STATE_CHANGE_VALUE |
Triggers the task when a specific user session state changes. |
TIME |
Triggers the task at a specific time of day. |
TIME_VALUE |
Triggers the task at a specific time of day. |
TRIGGER_TYPE_UNSPECIFIED |
The trigger frequency is not specified. |
TRIGGER_TYPE_UNSPECIFIED_VALUE |
The trigger frequency is not specified. |
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_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. |
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() |
|