Enum Class CronJobLogName

java.lang.Object
java.lang.Enum<CronJobLogName>
ch.colabproject.colab.api.model.monitoring.CronJobLogName
All Implemented Interfaces:
Serializable, Comparable<CronJobLogName>, Constable

public enum CronJobLogName extends Enum<CronJobLogName>
A cron job log can have one of these names
Author:
mikkelvestergaard
  • Enum Constant Details

    • SAVE_ACTIVITIES_DATE

      public static final CronJobLogName SAVE_ACTIVITIES_DATE
      Persist activity dates to database
    • DROP_OLD_HTTP_SESSIONS

      public static final CronJobLogName DROP_OLD_HTTP_SESSIONS
      Drop expired http session
    • DROP_OLD_URL_METADATA

      public static final CronJobLogName DROP_OLD_URL_METADATA
      Clean url metadata cache
    • CLEAN_BIN

      public static final CronJobLogName CLEAN_BIN
      Remove from bin the old colab entities and flag them as "ready-for-permanent-deletion"
    • DELETE_FOREVER

      public static final CronJobLogName DELETE_FOREVER
      Delete the old "ready-for-permanent-deletion" colab entities
    • DATABASE_BACKUP

      public static final CronJobLogName DATABASE_BACKUP
      Database backup
  • Method Details

    • values

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