Class ConfigBasedEveryNMinutesRunnable
java.lang.Object
org.ametys.plugins.core.impl.schedule.StaticRunnable
org.ametys.plugins.core.impl.schedule.ConfigBasedEveryNMinutesRunnable
- All Implemented Interfaces:
Runnable
,PluginAware
,Component
,Configurable
,Serviceable
- Direct Known Subclasses:
CleanJCaptchaRunnable
A
Runnable
is launched every N minutes where N is defined by the config parameter defined into param-period.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.core.schedule.Runnable
Runnable.FireProcess, Runnable.MisfirePolicy
-
Field Summary
Fields inherited from class org.ametys.plugins.core.impl.schedule.StaticRunnable
_cronExpression, _deactivatable, _description, _featureName, _fireProcess, _id, _label, _misfirePolicy, _modifiable, _parameterValues, _pluginName, _removable, _schedulableEP, _schedulableId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
_superConfigure
(Configuration configuration) Call the configure method of the superclass.void
configure
(Configuration configuration) Methods inherited from class org.ametys.plugins.core.impl.schedule.StaticRunnable
_configureParameterValues, getCronExpression, getDescription, getFireProcess, getId, getLabel, getMisfirePolicy, getParameterValues, getSchedulableId, getUserIdentity, isDeactivatable, isModifiable, isRemovable, isVolatile, service, setPluginInfo
-
Constructor Details
-
ConfigBasedEveryNMinutesRunnable
public ConfigBasedEveryNMinutesRunnable()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceConfigurable
- Overrides:
configure
in classStaticRunnable
- Throws:
ConfigurationException
-
_superConfigure
Call the configure method of the superclass.- Parameters:
configuration
- The modified configuration- Throws:
ConfigurationException
- if an error occurs
-