Enum Class GrouperLoaderScheduleType
java.lang.Object
java.lang.Enum<GrouperLoaderScheduleType>
edu.internet2.middleware.grouper.app.loader.GrouperLoaderScheduleType
- All Implemented Interfaces:
Serializable
,Comparable<GrouperLoaderScheduleType>
,Constable
schedule types for loaders. note that two jobs never run at the same time.
If the interval or schedule is up, and a job is still running, then another
will not run concurrently.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionquartz cron string to configure the schedule http://www.opensymphony.com/quartz/wikidocs/TutorialLesson6.htmlperiodic interval, based on the time between the start of one job, and the start of another job -
Method Summary
Modifier and TypeMethodDescriptionabstract org.quartz.Trigger
createTrigger
(String name, int priority, String quartzCronString, Integer intervalSeconds) create a trigger based on the type (this), and the params (e.g.static GrouperLoaderScheduleType
Returns the enum constant of this class with the specified name.static GrouperLoaderScheduleType
valueOfIgnoreCase
(String string, boolean exceptionOnNull) do a case-insensitive matchingstatic GrouperLoaderScheduleType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CRON
quartz cron string to configure the schedule http://www.opensymphony.com/quartz/wikidocs/TutorialLesson6.html -
START_TO_START_INTERVAL
periodic interval, based on the time between the start of one job, and the start of another job
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
createTrigger
public abstract org.quartz.Trigger createTrigger(String name, int priority, String quartzCronString, Integer intervalSeconds) create a trigger based on the type (this), and the params (e.g. cron string, interval seconds, etc)- Parameters:
name
-priority
-quartzCronString
-intervalSeconds
-- Returns:
- the trigger
-
valueOfIgnoreCase
do a case-insensitive matching- Parameters:
string
-exceptionOnNull
- will not allow null or blank entries- Returns:
- the enum or null or exception if not found
-