Class SchedulerResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.admin.scheduler.SchedulerResource
@Path("scheduler")
@Consumes("application/json")
@Produces("application/json")
@Singleton
public class SchedulerResource
extends Object
REST resource for the scheduler.
- Since:
- 5.9
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull List<RestScheduledJob>
getJobs()
@NotNull javax.ws.rs.core.Response
triggerJob
(@NotNull RestScheduledJob job)
-
Constructor Details
-
SchedulerResource
-
-
Method Details
-
getJobs
@GET @Path("jobs") @NotNull public @NotNull List<RestScheduledJob> getJobs() throws WebValidationException- Throws:
WebValidationException
-
triggerJob
@POST @Path("jobs/trigger") @NotNull public @NotNull javax.ws.rs.core.Response triggerJob(@NotNull @NotNull RestScheduledJob job) throws WebValidationException - Throws:
WebValidationException
-