public class SchedulerControl extends BackdoorControl<SchedulerControl>
BackdoorControl.AddXsrfNoCheckTokenFilter, BackdoorControl.JsonMediaTypeFilter
ADMIN_REST_PATH, API_REST_PATH, DEFAULT_REST_PATH, rootPath
Constructor and Description |
---|
SchedulerControl(BambooEnvironmentData bambooEnvironmentData)
Parameterized constructor.
|
Modifier and Type | Method and Description |
---|---|
List<ScheduledJob> |
getJobs()
Gets the collection of jobs currently scheduled to be run.
|
void |
triggerJob(ScheduledJob job) |
client, createResource, createResourceForPath, get, getEnvironmentData, getRestModulePath, percentEncode, ping, post, resourceRoot, tearDown
public SchedulerControl(BambooEnvironmentData bambooEnvironmentData)
bambooEnvironmentData
- the environment data used when testingpublic List<ScheduledJob> getJobs() throws Exception
Exception
public void triggerJob(ScheduledJob job)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.