Enum Class JobSchedule.Type

java.lang.Object
java.lang.Enum<JobSchedule.Type>
com.sodius.oslc.server.core.jobs.JobSchedule.Type
All Implemented Interfaces:
Serializable, Comparable<JobSchedule.Type>, java.lang.constant.Constable
Enclosing class:
JobSchedule

public static enum JobSchedule.Type extends Enum<JobSchedule.Type>
Determines the type of schedule.
Since:
3.11.0
  • Enum Constant Details

    • 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 Details

    • values

      public static JobSchedule.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JobSchedule.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null