Package com.github.kagkarlsson.scheduler
Enum SchedulerClient.ScheduleOptions.WhenExists
- java.lang.Object
-
- java.lang.Enum<SchedulerClient.ScheduleOptions.WhenExists>
-
- com.github.kagkarlsson.scheduler.SchedulerClient.ScheduleOptions.WhenExists
-
- All Implemented Interfaces:
Serializable,Comparable<SchedulerClient.ScheduleOptions.WhenExists>
- Enclosing class:
- SchedulerClient.ScheduleOptions
public static enum SchedulerClient.ScheduleOptions.WhenExists extends Enum<SchedulerClient.ScheduleOptions.WhenExists>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DO_NOTHINGRESCHEDULE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SchedulerClient.ScheduleOptions.WhenExistsvalueOf(String name)Returns the enum constant of this type with the specified name.static SchedulerClient.ScheduleOptions.WhenExists[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESCHEDULE
public static final SchedulerClient.ScheduleOptions.WhenExists RESCHEDULE
-
DO_NOTHING
public static final SchedulerClient.ScheduleOptions.WhenExists DO_NOTHING
-
-
Method Detail
-
values
public static SchedulerClient.ScheduleOptions.WhenExists[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SchedulerClient.ScheduleOptions.WhenExists c : SchedulerClient.ScheduleOptions.WhenExists.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchedulerClient.ScheduleOptions.WhenExists valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-