Enum TimingType

    • Enum Constant Detail

      • OFF_SCHEDULE

        public static final TimingType OFF_SCHEDULE
        Used when the job is being executed off-schedule such as a manual request from the admin.
      • TARGET_DATE

        public static final TimingType TARGET_DATE
        The associated job should be run on a target date.
      • CRON

        public static final TimingType CRON
        The associated job should recur based on a cron expression.
    • Method Detail

      • values

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

        public static TimingType 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