Enum JobStoreType
- java.lang.Object
- java.lang.Enum<JobStoreType>
- org.springframework.boot.autoconfigure.quartz.JobStoreType
- All Implemented Interfaces:
Serializable
,Comparable<JobStoreType>
public enum JobStoreType extends Enum<JobStoreType>
Define the supported QuartzJobStore
.- Since:
- 2.0.0
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JobStoreType
valueOf(String name)
Returns the enum constant of this type with the specified name.static JobStoreType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
Enum Constant Detail
MEMORY
public static final JobStoreType MEMORY
Store jobs in memory.
JDBC
public static final JobStoreType JDBC
Store jobs in the database.
Method Detail
values
public static JobStoreType[] 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 (JobStoreType c : JobStoreType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static JobStoreType 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