Class RuleScheduleServiceLauncher

java.lang.Object
com.codebarrel.jira.plugin.automation.schedule.RuleScheduleServiceLauncher
All Implemented Interfaces:
com.atlassian.sal.api.lifecycle.LifecycleAware

@Named public class RuleScheduleServiceLauncher extends Object implements com.atlassian.sal.api.lifecycle.LifecycleAware
  • Constructor Details

    • RuleScheduleServiceLauncher

      @Inject public RuleScheduleServiceLauncher(com.atlassian.scheduler.SchedulerService schedulerService, AutomationRuleSchedulerJob ruleSchedulerJob)
  • Method Details

    • onStart

      public void onStart()
      Specified by:
      onStart in interface com.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:
      onStop in interface com.atlassian.sal.api.lifecycle.LifecycleAware