
public.javadoc.org.spincast.plugins.scheduledtasks.SpincastScheduledTaskBase.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
SpincastScheduledTaskBase (org.spincast:spincast-framework 2.1.1 API)
Class SpincastScheduledTaskBase
java.lang.Object
org.spincast.plugins.scheduledtasks.SpincastScheduledTaskBase
- All Implemented Interfaces:
org.quartz.Job
, SpincastScheduledTask
- Direct Known Subclasses:
DeleteOldAttemptsScheduledTask
, SpincastFormsDoubleSubmitDeleteOldProtectionIdsScheduledTask
, SpincastSessionDeleteOldSessionsScheduledTask
-
Field Summary
Fields
-
Constructor Summary
Constructors
-
Method Summary
Modifier and Type
Method
Description
void
execute(org.quartz.JobExecutionContext context)
The actions to run.
protected abstract void
executeSafe(org.quartz.JobExecutionContext context)
To override to implement the actual ScheduledTask action.
abstract org.quartz.Trigger
When to run this task?
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
Constructor Details
-
SpincastScheduledTaskBase
public SpincastScheduledTaskBase()
-
Method Details
-
execute
public void execute(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
Description copied from interface: SpincastScheduledTask
The actions to run.
- Specified by:
execute
in interface org.quartz.Job
- Specified by:
execute
in interface SpincastScheduledTask
- Throws:
org.quartz.JobExecutionException
-
getTrigger
public abstract org.quartz.Trigger getTrigger()
Description copied from interface: SpincastScheduledTask
When to run this task?
- Specified by:
getTrigger
in interface SpincastScheduledTask
-
executeSafe
protected abstract void executeSafe(org.quartz.JobExecutionContext context)
To override to implement the actual ScheduledTask action.
Will only be called if the ScheduledTask isn't already running.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy