Class DeleteExtractionsSchedulable
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.core.impl.schedule.AbstractStaticSchedulable
org.ametys.cms.schedule.AbstractDeleteFilesSchedulable
org.ametys.plugins.extraction.execution.DeleteExtractionsSchedulable
- All Implemented Interfaces:
- Schedulable,- LogEnabled,- PluginAware,- Initializable,- Component,- Configurable,- Contextualizable,- Serviceable
public class DeleteExtractionsSchedulable
extends AbstractDeleteFilesSchedulable
implements Initializable
A 
Schedulable job for deleting old extractions- 
Nested Class SummaryNested classes/interfaces inherited from class org.ametys.cms.schedule.AbstractDeleteFilesSchedulableAbstractDeleteFilesSchedulable.DeleteFilesConfigurationNested classes/interfaces inherited from class org.ametys.plugins.core.impl.schedule.AbstractStaticSchedulableAbstractStaticSchedulable.SchedulableParameterParser
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected CurrentUserProviderCurrent user providerprotected RightManagerRight Managerstatic final StringParameter for workspaceFields inherited from class org.ametys.cms.schedule.AbstractDeleteFilesSchedulable_fileHelperFields inherited from class org.ametys.plugins.core.impl.schedule.AbstractStaticSchedulable_acceptConcurrentExecution, _context, _description, _iconGlyph, _iconLarge, _iconMedium, _iconSmall, _id, _label, _parameters, _pluginName, _private, _schedulableParameterTypeExtensionPoint, _smanager, _userManager
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription_getConfiguration(JobExecutionContext context) Get the needed values so the script can runvoidexecute(JobExecutionContext context) The action to perform when a trigger is fired.voidvoidservice(ServiceManager manager) Methods inherited from class org.ametys.cms.schedule.AbstractDeleteFilesSchedulable_createFileFilter, _deleteMethods inherited from class org.ametys.plugins.core.impl.schedule.AbstractStaticSchedulableacceptConcurrentExecution, configure, contextualize, getDescription, getIconGlyph, getIconLarge, getIconMedium, getIconSmall, getId, getLabel, getParameters, isPrivate, setPluginInfoMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabledgetLogger, setLogger
- 
Field Details- 
LIFETIME_KEYParameter for workspace- See Also:
 
- 
_rightManagerRight Manager
- 
_currentUserProviderCurrent user provider
 
- 
- 
Constructor Details- 
DeleteExtractionsSchedulablepublic DeleteExtractionsSchedulable()
 
- 
- 
Method Details- 
service- Specified by:
- servicein interface- Serviceable
- Overrides:
- servicein class- AbstractDeleteFilesSchedulable
- Throws:
- ServiceException
 
- 
initialize- Specified by:
- initializein interface- Initializable
- Throws:
- Exception
 
- 
executeDescription copied from interface:SchedulableThe action to perform when a trigger is fired. Do not manually call this method.- Specified by:
- executein interface- Schedulable
- Overrides:
- executein class- AbstractDeleteFilesSchedulable
- Parameters:
- context- the context
- Throws:
- Exception- if an error occured
 
- 
_getConfigurationprotected AbstractDeleteFilesSchedulable.DeleteFilesConfiguration _getConfiguration(JobExecutionContext context) Description copied from class:AbstractDeleteFilesSchedulableGet the needed values so the script can run- Specified by:
- _getConfigurationin class- AbstractDeleteFilesSchedulable
- Parameters:
- context- the context
- Returns:
- the configuration with needed values for deletion
 
 
-