Enum Class ScheduleType

java.lang.Object
java.lang.Enum<ScheduleType>
com.kheops.scheduler.ScheduleType
All Implemented Interfaces:
Serializable, Comparable<ScheduleType>, Constable

public enum ScheduleType extends Enum<ScheduleType>
  • Enum Constant Details

    • SCHEDULE_TYPE_HOURLY

      public static final ScheduleType SCHEDULE_TYPE_HOURLY
    • SCHEDULE_TYPE_DAILY

      public static final ScheduleType SCHEDULE_TYPE_DAILY
    • SCHEDULE_TYPE_WEEKLY

      public static final ScheduleType SCHEDULE_TYPE_WEEKLY
    • SCHEDULE_TYPE_MONTHLY

      public static final ScheduleType SCHEDULE_TYPE_MONTHLY
    • SCHEDULE_TYPE_ONE_TIME

      public static final ScheduleType SCHEDULE_TYPE_ONE_TIME
  • Method Details

    • values

      public static ScheduleType[] 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 ScheduleType 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
    • getType

      public int getType()
    • getLangKey

      public String getLangKey()
    • setDescription

      public void setDescription(String description)
    • getScheduleType

      public static ScheduleType getScheduleType(int type)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ScheduleType>