Package fr.gouv.vitam.scheduler.server
Class SchedulerResource
- java.lang.Object
-
- fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
-
- fr.gouv.vitam.scheduler.server.SchedulerResource
-
@Path("/scheduler/v1") public class SchedulerResource extends ApplicationStatusResource
-
-
Field Summary
-
Fields inherited from class fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
STATUS_URL, TENANTS_URL
-
-
Constructor Summary
Constructors Constructor Description SchedulerResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
getCurrentJobs()
javax.ws.rs.core.Response
getJobs()
javax.ws.rs.core.Response
pauseScheduling(java.lang.String group)
javax.ws.rs.core.Response
resumeScheduling(java.lang.String group)
-
Methods inherited from class fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
getServerTenants, status
-
-
-
-
Method Detail
-
getCurrentJobs
@GET @Path("/current-jobs") @Produces("application/json") public javax.ws.rs.core.Response getCurrentJobs() throws org.quartz.SchedulerException
- Throws:
org.quartz.SchedulerException
-
getJobs
@GET @Path("/jobs") @Produces("application/json") public javax.ws.rs.core.Response getJobs() throws org.quartz.SchedulerException
- Throws:
org.quartz.SchedulerException
-
pauseScheduling
@PUT @Path("/pause/{group}") @Produces("application/json") public javax.ws.rs.core.Response pauseScheduling(@PathParam("group") java.lang.String group) throws org.quartz.SchedulerException
- Throws:
org.quartz.SchedulerException
-
resumeScheduling
@PUT @Path("/resume/{group}") @Produces("application/json") public javax.ws.rs.core.Response resumeScheduling(@PathParam("group") java.lang.String group) throws org.quartz.SchedulerException
- Throws:
org.quartz.SchedulerException
-
-