Enum RecurringTaskFirstExecution

    • Enum Constant Detail

      • RANDOM

        public static final RecurringTaskFirstExecution RANDOM
        A random time between 0 and the recurring task recurrence. E.g: if the task runs every hour then the first execution will be between 0 and 1 hour.
      • NEXT

        public static final RecurringTaskFirstExecution NEXT
        The first execution will match the task recurrence. E.g: if the task runs every hour then the first execution will be in one hour.
    • Method Detail

      • values

        public static RecurringTaskFirstExecution[] 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 (RecurringTaskFirstExecution c : RecurringTaskFirstExecution.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RecurringTaskFirstExecution 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 name
        NullPointerException - if the argument is null