Class SchedulerResource

    • Constructor Detail

      • SchedulerResource

        public SchedulerResource()
    • 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