Enum Class TimingType

java.lang.Object
java.lang.Enum<TimingType>
com.broadleafcommerce.scheduledjob.domain.TimingType
All Implemented Interfaces:
Serializable, Comparable<TimingType>, Constable

public enum TimingType extends Enum<TimingType>
Author:
Chad Harchar (charchar)
  • Enum Constant Details

    • OFF_SCHEDULE

      public static final TimingType OFF_SCHEDULE
      Used when the job is being executed off-schedule such as a manual request from the admin.
    • TARGET_DATE

      public static final TimingType TARGET_DATE
      The associated job should be run on a target date.
    • CRON

      public static final TimingType CRON
      The associated job should recur based on a cron expression.
  • Method Details

    • values

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