Enum Class CronFieldType

java.lang.Object
java.lang.Enum<CronFieldType>
org.jobrunr.scheduling.cron.CronFieldType
All Implemented Interfaces:
Serializable, Comparable<CronFieldType>, Constable

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

  • Method Details

    • values

      public static CronFieldType[] 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 CronFieldType 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
    • getFieldName

      public String getFieldName()
    • getLength

      public int getLength()
    • getMinAllowedValue

      public int getMinAllowedValue()
    • getMaxAllowedValue

      public int getMaxAllowedValue()
    • parseAsterisk

      public BitSet parseAsterisk()
    • parseLastDayOfMonth

      public BitSet parseLastDayOfMonth()
    • fillBitSetToIncl

      public BitSet fillBitSetToIncl(int from, int toIncluded)
    • fillBitSet

      public BitSet fillBitSet(int from, int toExcluded)
    • setBitSet

      public void setBitSet(BitSet bitSet, int number)