Enum CronJobLogName
- java.lang.Object
-
- java.lang.Enum<CronJobLogName>
-
- ch.colabproject.colab.api.model.monitoring.CronJobLogName
-
- All Implemented Interfaces:
Serializable
,Comparable<CronJobLogName>
public enum CronJobLogName extends Enum<CronJobLogName>
A cron job log can have one of these names- Author:
- mikkelvestergaard
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATABASE_BACKUP
Database backupDROP_OLD_HTTP_SESSIONS
Drop expired http sessionDROP_OLD_URL_METADATA
Clean url metadata cacheSAVE_ACTIVITIES_DATE
Persist activity dates to database
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CronJobLogName
valueOf(String name)
Returns the enum constant of this type with the specified name.static CronJobLogName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
DATABASE_BACKUP
public static final CronJobLogName DATABASE_BACKUP
Database backup
-
-
Method Detail
-
values
public static CronJobLogName[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CronJobLogName c : CronJobLogName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CronJobLogName valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-