ScheduleType Class

public final class ScheduleType
extends ExpandableStringEnum<ScheduleType>

The supported types for a scheduled task.

Field Summary

Modifier and Type Field and Description
static final ScheduleType STOP_DEV_BOX

The scheduled task will stop impacted Dev Boxes.

Constructor Summary

Constructor Description
ScheduleType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScheduleType value.

Method Summary

Modifier and Type Method and Description
static ScheduleType fromString(String name)

Creates or finds a ScheduleType from its string representation.

static Collection<ScheduleType> values()

Gets known ScheduleType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

STOP_DEV_BOX

public static final ScheduleType STOP_DEV_BOX

The scheduled task will stop impacted Dev Boxes.

Constructor Details

ScheduleType

@Deprecated
public ScheduleType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScheduleType value.

Method Details

fromString

public static ScheduleType fromString(String name)

Creates or finds a ScheduleType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ScheduleType.

values

public static Collection<ScheduleType> values()

Gets known ScheduleType values.

Returns:

known ScheduleType values.

Applies to