Package fr.gouv.vitam.scheduler.server
Class AdminSchedulerResource
- java.lang.Object
-
- fr.gouv.vitam.scheduler.server.AdminSchedulerResource
-
@Path("/scheduler/v1") public class AdminSchedulerResource extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AdminSchedulerResource(VitamJobsDataProcessorPlugin jobsDataProcessorPlugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
importJobs()
javax.ws.rs.core.Response
pauseScheduling(java.lang.String group)
javax.ws.rs.core.Response
resumeScheduling(java.lang.String group)
-
-
-
Constructor Detail
-
AdminSchedulerResource
public AdminSchedulerResource(VitamJobsDataProcessorPlugin jobsDataProcessorPlugin)
-
-
Method Detail
-
importJobs
@POST @Path("/jobs") @Produces("application/json") public javax.ws.rs.core.Response importJobs() 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
-
-