@Inherited @Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Scheduled
Job classes annotated with Scheduled will be automatically scheduled.| Modifier and Type | Required Element and Description |
|---|---|
String |
cronExpression
The cron expression to base the schedule on.
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
jobGroup
The
Job group. |
String |
jobName
The
Job name, must be unique within the group. |
int |
priority
The
Trigger's priority. |
boolean |
requestRecovery
Instructs the
Scheduler whether or not the Job should
be re-executed if a recovery or fail-over situation is
encountered. |
boolean |
storeDurably
Whether or not the
Job should remain stored after it is
orphaned (no Triggers point to it). |
String |
timeZoneId
The time zone for which the
cronExpression
of this CronTrigger will be resolved. |
String |
triggerGroup
The
Trigger group. |
String |
triggerName
The
Trigger name, must be unique within the group. |
public static final String DEFAULT
public abstract String cronExpression
public abstract String jobName
Job name, must be unique within the group.public abstract String jobGroup
Job group.public abstract boolean requestRecovery
Scheduler whether or not the Job should
be re-executed if a recovery or fail-over situation is
encountered.public abstract boolean storeDurably
Job should remain stored after it is
orphaned (no Triggers point to it).public abstract String triggerName
Trigger name, must be unique within the group.public abstract String triggerGroup
Trigger group.public abstract String timeZoneId
cronExpression
of this CronTrigger will be resolved.