Class RuleInsightsExpiryScheduler
java.lang.Object
com.codebarrel.jira.plugin.automation.schedule.RuleInsightsExpiryScheduler
- All Implemented Interfaces:
com.atlassian.sal.api.lifecycle.LifecycleAware
@Component
public class RuleInsightsExpiryScheduler
extends Object
implements com.atlassian.sal.api.lifecycle.LifecycleAware
-
Constructor Summary
ConstructorsConstructorDescriptionRuleInsightsExpiryScheduler(com.atlassian.scheduler.SchedulerService schedulerService, RuleInsightsExpiryJob ruleInsightsExpiryJob) -
Method Summary
-
Constructor Details
-
RuleInsightsExpiryScheduler
@Inject public RuleInsightsExpiryScheduler(com.atlassian.scheduler.SchedulerService schedulerService, RuleInsightsExpiryJob ruleInsightsExpiryJob)
-
-
Method Details
-
onStart
public void onStart()- Specified by:
onStartin interfacecom.atlassian.sal.api.lifecycle.LifecycleAware
-
onStop
public void onStop()We don't unschedule the job as in DC we still want it to run in the cluster. If plugin is uninstalled it leaves the job in place and since there is no runner, it simply wont run.- Specified by:
onStopin interfacecom.atlassian.sal.api.lifecycle.LifecycleAware
-