Enum Class JobOptEnum

java.lang.Object
java.lang.Enum<JobOptEnum>
cn.sinozg.applet.quartz.use.enums.JobOptEnum
All Implemented Interfaces:
Serializable, Comparable<JobOptEnum>, Constable

public enum JobOptEnum extends Enum<JobOptEnum>
定时任务操作
  • Enum Constant Details

    • ADD

      public static final JobOptEnum ADD
      新增
    • UPDATE

      public static final JobOptEnum UPDATE
      更新
    • DEL

      public static final JobOptEnum DEL
      删除
    • RESUME

      public static final JobOptEnum RESUME
      启动
    • PAUSE

      public static final JobOptEnum PAUSE
      暂停
  • Field Details

    • code

      private final String code
    • name

      private final String name
  • Constructor Details

    • JobOptEnum

      private JobOptEnum(String code, String name)
  • Method Details

    • values

      public static JobOptEnum[] 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 JobOptEnum 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
    • getCode

      public String getCode()
    • getName

      public String getName()