public enum GrouperLoaderScheduleType extends Enum<GrouperLoaderScheduleType>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
static GrouperLoaderScheduleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrouperLoaderScheduleType |
valueOfIgnoreCase(String string,
boolean exceptionOnNull)
do a case-insensitive matching
|
static GrouperLoaderScheduleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrouperLoaderScheduleType CRON
public static final GrouperLoaderScheduleType START_TO_START_INTERVAL
public static GrouperLoaderScheduleType[] values()
for (GrouperLoaderScheduleType c : GrouperLoaderScheduleType.values()) System.out.println(c);
public static GrouperLoaderScheduleType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract org.quartz.Trigger createTrigger(String name, int priority, String quartzCronString, Integer intervalSeconds)
name
- priority
- quartzCronString
- intervalSeconds
- public static GrouperLoaderScheduleType valueOfIgnoreCase(String string, boolean exceptionOnNull)
string
- exceptionOnNull
- will not allow null or blank entriesCopyright © 2016 Internet2. All rights reserved.