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 Summary
-
Constructor Summary
ConstructorDescriptionCollectionScheduler
(DataCollectionJob dataCollectionJob, com.atlassian.sal.api.scheduling.PluginScheduler pluginScheduler) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onStart()
void
onStop()
void
reschedule
(Date jobStart, Long intervalMilliSeconds) void
-
Field Details
-
INSTANCE_KEY
-
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 interfacecom.atlassian.sal.api.lifecycle.LifecycleAware
-
onStop
public void onStop()- Specified by:
onStop
in interfacecom.atlassian.sal.api.lifecycle.LifecycleAware
-
reschedule
-
rescheduleForLater
public void rescheduleForLater()
-