A C E F G I J N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addJob(String, Object, Map<String, Serializable>, String, boolean) - Method in interface org.apache.sling.commons.scheduler.Scheduler
-
Deprecated.Use
Scheduler.schedule(Object, ScheduleOptions)
instead. - addPeriodicJob(String, Object, Map<String, Serializable>, long, boolean) - Method in interface org.apache.sling.commons.scheduler.Scheduler
-
Deprecated.Use
Scheduler.schedule(Object, ScheduleOptions)
instead. - addPeriodicJob(String, Object, Map<String, Serializable>, long, boolean, boolean) - Method in interface org.apache.sling.commons.scheduler.Scheduler
-
Deprecated.Use
Scheduler.schedule(Object, ScheduleOptions)
instead. - AT(Date) - Method in interface org.apache.sling.commons.scheduler.Scheduler
-
Create a schedule options to fire a job once at a specific date.
- AT(Date, int, long) - Method in interface org.apache.sling.commons.scheduler.Scheduler
-
Create a schedule options to fire a job period starting at a specific date.
C
- canRunConcurrently(boolean) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
-
Flag indicating whether the job can be run concurrently.
- config(Map<String, Serializable>) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
-
Add optional configuration for the job.
E
- execute(JobContext) - Method in interface org.apache.sling.commons.scheduler.Job
-
Execute this job.
- EXPR(String) - Method in interface org.apache.sling.commons.scheduler.Scheduler
-
Create a schedule options to schedule the job based on the expression.
F
- fireJob(Object, Map<String, Serializable>) - Method in interface org.apache.sling.commons.scheduler.Scheduler
-
Deprecated.Use
Scheduler.schedule(Object, ScheduleOptions)
instead. - fireJob(Object, Map<String, Serializable>, int, long) - Method in interface org.apache.sling.commons.scheduler.Scheduler
-
Deprecated.Use
Scheduler.schedule(Object, ScheduleOptions)
instead. - fireJobAt(String, Object, Map<String, Serializable>, Date) - Method in interface org.apache.sling.commons.scheduler.Scheduler
-
Deprecated.Use
Scheduler.schedule(Object, ScheduleOptions)
instead. - fireJobAt(String, Object, Map<String, Serializable>, Date, int, long) - Method in interface org.apache.sling.commons.scheduler.Scheduler
-
Deprecated.Use
Scheduler.schedule(Object, ScheduleOptions)
instead.
G
- getConfiguration() - Method in interface org.apache.sling.commons.scheduler.JobContext
-
Get the configuration provided when the job was scheduled.
- getName() - Method in interface org.apache.sling.commons.scheduler.JobContext
-
Get the name of the scheduled job.
I
- isThrowIfPropertyNotFound() - Method in class org.quartz.simpl.PropertySettingJobFactory
-
Whether the JobInstantiation should fail and throw and exception if a key (name) and value (type) found in the JobDataMap does not correspond to a proptery setter on the Job class.
- isWarnIfPropertyNotFound() - Method in class org.quartz.simpl.PropertySettingJobFactory
-
Whether a warning should be logged if a key (name) and value (type) found in the JobDataMap does not correspond to a proptery setter on the Job class.
J
- Job - Interface in org.apache.sling.commons.scheduler
-
A job is executed by the
Scheduler
service. - JobContext - Interface in org.apache.sling.commons.scheduler
-
The context for a
Job
.
N
- name(String) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
-
Sets the name of the job.
- newJob(TriggerFiredBundle, Scheduler) - Method in class org.quartz.simpl.PropertySettingJobFactory
- NOW() - Method in interface org.apache.sling.commons.scheduler.Scheduler
-
Create a schedule options to fire a job immediately and only once.
- NOW(int, long) - Method in interface org.apache.sling.commons.scheduler.Scheduler
-
Create a schedule options to fire a job immediately more than once.
O
- onInstancesOnly(String[]) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
-
List of Sling IDs this job should be run on.
- onLeaderOnly(boolean) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
-
Flag indicating whether the job should only be run on the leader.
- onSingleInstanceOnly(boolean) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
-
Flag indicating whether the job should only be run on a single instance in a cluster This defaults to false.
- org.apache.sling.commons.scheduler - package org.apache.sling.commons.scheduler
- org.quartz.simpl - package org.quartz.simpl
P
- PROPERTY_SCHEDULER_CONCURRENT - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
-
Name of the configuration property to define if the job can be run concurrently.
- PROPERTY_SCHEDULER_EXPRESSION - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
-
Name of the configuration property to define the cron expression for a job.
- PROPERTY_SCHEDULER_IMMEDIATE - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
-
Name of the configuration property to define if a periodically job should be scheduled immediate.
- PROPERTY_SCHEDULER_NAME - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
-
Name of the configuration property to define the job name.
- PROPERTY_SCHEDULER_PERIOD - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
-
Name of the configuration property to define the period for a job.
- PROPERTY_SCHEDULER_RUN_ON - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
-
Name of the configuration property to define the instances this job should run on.
- PROPERTY_SCHEDULER_THREAD_POOL - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
-
Name of the configuration property to define the thread pool to be used.
- PROPERTY_SCHEDULER_TIMES - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
-
Name of the optional configuration property to define the number of times the job should be executed when
Scheduler.PROPERTY_SCHEDULER_PERIOD
is defined. - PropertySettingJobFactory - Class in org.quartz.simpl
-
A JobFactory that instantiates the Job instance (using the default no-arg constructor, or more specifically:
class.newInstance()
), and then attempts to set all values from theSchedulerContext
and theJobExecutionContext
's mergedJobDataMap
onto bean properties of theJob
. - PropertySettingJobFactory() - Constructor for class org.quartz.simpl.PropertySettingJobFactory
R
- removeJob(String) - Method in interface org.apache.sling.commons.scheduler.Scheduler
-
Deprecated.Use
Scheduler.unschedule(String)
instead.
S
- schedule(Object, ScheduleOptions) - Method in interface org.apache.sling.commons.scheduler.Scheduler
-
Schedule a job based on the options.
- ScheduleOptions - Interface in org.apache.sling.commons.scheduler
-
Scheduler options provide an extensible way of defining how to schedule a job.
- Scheduler - Interface in org.apache.sling.commons.scheduler
-
A scheduler to schedule time/cron based jobs.
- setBeanProps(Object, JobDataMap) - Method in class org.quartz.simpl.PropertySettingJobFactory
- setThrowIfPropertyNotFound(boolean) - Method in class org.quartz.simpl.PropertySettingJobFactory
-
Whether the JobInstantiation should fail and throw and exception if a key (name) and value (type) found in the JobDataMap does not correspond to a proptery setter on the Job class.
- setWarnIfPropertyNotFound(boolean) - Method in class org.quartz.simpl.PropertySettingJobFactory
-
Whether a warning should be logged if a key (name) and value (type) found in the JobDataMap does not correspond to a proptery setter on the Job class.
T
- threadPoolName(String) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
-
Define the thread pool to be used.
U
- unschedule(String) - Method in interface org.apache.sling.commons.scheduler.Scheduler
-
Remove a scheduled job by name.
V
- VALUE_RUN_ON_LEADER - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
-
Value for
Scheduler.PROPERTY_SCHEDULER_RUN_ON
to run the job on the leader only. - VALUE_RUN_ON_SINGLE - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
-
Value for
Scheduler.PROPERTY_SCHEDULER_RUN_ON
to run the job on a single instance only.
All Classes All Packages