Enum Class CronType

java.lang.Object
java.lang.Enum<CronType>
io.github.projectunified.cronutils.model.CronType
All Implemented Interfaces:
Serializable, Comparable<CronType>, java.lang.constant.Constable

public enum CronType extends Enum<CronType>
Enumerates names of cron implementations.
  • Enum Constant Details

    • CRON4J

      public static final CronType CRON4J
    • QUARTZ

      public static final CronType QUARTZ
    • UNIX

      public static final CronType UNIX
    • SPRING

      public static final CronType SPRING
    • SPRING53

      public static final CronType SPRING53
  • Method Details

    • values

      public static CronType[] 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 CronType 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