Enum JobSchedule.Type

    • Enum Constant Detail

      • FIXED_RATE

        public static final JobSchedule.Type FIXED_RATE
        Indicates the job is to run at fixed rate, at given hour and minute, each day.
      • FIXED_DELAY

        public static final JobSchedule.Type FIXED_DELAY
        Indicates the job is to run periodically with a given delay.
      • DISABLED

        public static final JobSchedule.Type DISABLED
        Indicates the job is disabled and shall not run.
    • Method Detail

      • values

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

        public static JobSchedule.Type 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