Class CollectionScheduler

java.lang.Object
com.atlassian.bamboo.analytics.basedata.collector.CollectionScheduler
All Implemented Interfaces:
com.atlassian.sal.api.lifecycle.LifecycleAware

public class CollectionScheduler extends Object implements com.atlassian.sal.api.lifecycle.LifecycleAware
  • Field Details

    • INSTANCE_KEY

      public static final String INSTANCE_KEY
    • SCHEDULER_KEY

      public static final String SCHEDULER_KEY
  • Constructor Details

    • CollectionScheduler

      @Inject public CollectionScheduler(DataCollectionJob dataCollectionJob, com.atlassian.sal.api.scheduling.PluginScheduler pluginScheduler)
  • Method Details

    • onStart

      public void onStart()
      Specified by:
      onStart in interface com.atlassian.sal.api.lifecycle.LifecycleAware
    • onStop

      public void onStop()
      Specified by:
      onStop in interface com.atlassian.sal.api.lifecycle.LifecycleAware
    • reschedule

      public void reschedule(Date jobStart, Long intervalMilliSeconds)
    • rescheduleForLater

      public void rescheduleForLater()