Class JobSchedule.FixedRateSchedule

java.lang.Object
com.sodius.oslc.server.core.jobs.JobSchedule
com.sodius.oslc.server.core.jobs.JobSchedule.FixedRateSchedule
All Implemented Interfaces:
Serializable
Enclosing class:
JobSchedule

public static final class JobSchedule.FixedRateSchedule extends JobSchedule
Provides information for a job to schedule at a fixed rate.
Since:
3.11.0
See Also:
  • Method Details

    • getType

      public JobSchedule.Type getType()
      Specified by:
      getType in class JobSchedule
      Returns:
      the type of scheduling.
    • getHour

      public int getHour()
      Returns the hour (0 to 23) at which the job must run.
      Returns:
      the hour value
    • getMinute

      public int getMinute()
      Returns the minute (0 to 59) at which the job must run.
      Returns:
      the minute value
    • getDescription

      public String getDescription()
      Description copied from class: JobSchedule
      Returns a description of the schedule, for end-user understanding, typically inserted in audit events.
      Specified by:
      getDescription in class JobSchedule
      Returns:
      a description of the schedule
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class JobSchedule
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in class JobSchedule