Interface Schedulable

All Known Implementing Classes:
AbstractCollectionSchedulable, AbstractDeleteFilesSchedulable, AbstractRebuildLiveWorkspaceSchedulable, AbstractReportSchedulable, AbstractSendingMailSchedulable, AbstractSendNotificationSummarySchedulable, AbstractStaticSchedulable, ApogeeSchedulable, ArchiveEducationalBookletSchedulable, ArchiveEducationalBookletSchedulable, CatalogPDFExportSchedulable, CatalogPDFExportSchedulable, CheckContentConsistencySchedulable, CheckContentConsistencySchedulable, CleanCacheSchedulable, CleanJCaptchaSchedulable, ComputeProgramSkillsSchedulable, ComputeProgramSkillsSchedulable, ContentExportSchedulable, CopyCatalogSchedulable, CoursePartPurgeSchedulable, DeleteCatalogSchedulable, DeleteClassifiedAdsSchedulable, DeleteEducationalBookletSchedulable, DeleteExtractionsSchedulable, DeleteReportsSchedulable, DuplicateContentsDetectionSchedulable, DuplicateContentsDetectionSchedulable, EducationalBookletSchedulable, EducationalBookletSchedulable, EmptyCollectionSchedulable, ExecuteExtractionSchedulable, ExportArchiveSchedulable, ExportSchedulable, GlobalValidationSchedulable, GlobalWorkspaceIndexerSchedulable, ImportArchiveSchedulable, InvalidateFOCacheSchedulable, OrgUnitConsistencyExtractSchedulable, OrgUnitMCCDiffReportSchedulable, OrgUnitReportSchedulable, ProgramConsistencyExtractSchedulable, ProgramReportSchedulable, PublishOrUnpublishPageSchedulable, RebuildLiveAllWorkspaceSchedulable, RebuildLiveSiteWorkspaceSchedulable, ReindexMembersSchedulable, ReloadSolrAclCacheSchedulable, ReloadSolrAclCachesForCoresSchedulable, ScriptSchedulable, SendDailyNotificationSummarySchedulable, SendMailSchedulable, SendMonthlyNotificationSummarySchedulable, SendWeeklyNotificationSummarySchedulable, ServersSynchronizationSchedulable, SiteIndexerSchedulable, SolrExportSchedulable, SynchronizeAllCollectionsSchedulable, SynchronizeCollectionSchedulable, UnlockSchedulable

public interface Schedulable
This interface represents a 'job' which can be performed and scheduled.
  • Method Details

    • execute

      void execute(JobExecutionContext context) throws Exception
      The action to perform when a trigger is fired. Do not manually call this method.
      Parameters:
      context - the context
      Throws:
      Exception - if an error occured
    • getId

      Returns the id
      Returns:
      the id
    • getLabel

      Returns the label
      Returns:
      the i18n label
    • getDescription

      Return the description
      Returns:
      the i18n description
    • getIconGlyph

      Returns the glyph icon
      Returns:
      the glyph icon
    • getIconSmall

      Returns the path to the small icon in 16x16 pixels
      Returns:
      the path to the 16x16 icon
    • getIconMedium

      Returns the path to the medium icon in 32x32 pixels
      Returns:
      the path to the 32x32 icon
    • getIconLarge

      Returns the path to the large icon in 48x48 pixels
      Returns:
      the path to the 48x48 icon
    • isPrivate

      boolean isPrivate()
      Returns true if the schedulable is private
      Returns:
      true if the schedulable is private
    • acceptConcurrentExecution

      Returns true if two runnables of this schedulable can be executed concurrently
      Returns:
      true if two runnables of this schedulable can be executed concurrently
    • getParameters

      Get the parameters for job execution
      Returns:
      the parameters