Class SchedulerControl

java.lang.Object
com.atlassian.bamboo.testutils.backdoor.BackdoorControl<SchedulerControl>
com.atlassian.bamboo.testutils.backdoor.SchedulerControl

public class SchedulerControl extends BackdoorControl<SchedulerControl>
Backdoor control used to interact with the job sceduler.
  • Constructor Details

    • SchedulerControl

      public SchedulerControl(BambooEnvironmentData bambooEnvironmentData)
      Parameterized constructor.
      Parameters:
      bambooEnvironmentData - the environment data used when testing
  • Method Details

    • getJobs

      public List<ScheduledJob> getJobs() throws Exception
      Gets the collection of jobs currently scheduled to be run.
      Returns:
      the collection of currently scheduled jobs
      Throws:
      Exception
    • triggerJob

      public void triggerJob(ScheduledJob job)