Class SchedulerResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.admin.scheduler.SchedulerResource
-
@Singleton public class SchedulerResource extends Object
REST resource for the scheduler.- Since:
- 5.9
-
-
Constructor Summary
Constructors Constructor Description SchedulerResource(SchedulerService schedulerService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull List<RestScheduledJob>
getJobs()
@NotNull javax.ws.rs.core.Response
triggerJob(@NotNull RestScheduledJob job)
-
-
-
Constructor Detail
-
SchedulerResource
@Inject public SchedulerResource(SchedulerService schedulerService)
-
-
Method Detail
-
getJobs
@NotNull public @NotNull List<RestScheduledJob> getJobs() throws WebValidationException
- Throws:
WebValidationException
-
triggerJob
@NotNull public @NotNull javax.ws.rs.core.Response triggerJob(@NotNull @NotNull RestScheduledJob job) throws WebValidationException
- Throws:
WebValidationException
-
-