Class SchedulerJobApiResource

java.lang.Object
org.apache.fineract.infrastructure.jobs.api.SchedulerJobApiResource

@Path("/v1/jobs") @Consumes("application/json") @Produces("application/json") @Component public class SchedulerJobApiResource extends Object
  • Constructor Details

    • SchedulerJobApiResource

      public SchedulerJobApiResource()
  • Method Details

    • retrieveAll

      @GET public String retrieveAll(@Context jakarta.ws.rs.core.UriInfo uriInfo)
    • retrieveOne

      @GET @Path("{jobId}") public String retrieveOne(@PathParam("jobId") Long jobId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • retrieveByShortName

      @GET @Path("short-name/{shortName}") public String retrieveByShortName(@PathParam("shortName") String shortName, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • retrieveHistory

      @GET @Path("{jobId}/runhistory") public String retrieveHistory(@Context jakarta.ws.rs.core.UriInfo uriInfo, @PathParam("jobId") Long jobId, @QueryParam("offset") Integer offset, @QueryParam("limit") Integer limit, @QueryParam("orderBy") String orderBy, @QueryParam("sortOrder") String sortOrder)
    • retrieveHistoryByShortName

      @GET @Path("short-name/{shortName}/runhistory") public String retrieveHistoryByShortName(@Context jakarta.ws.rs.core.UriInfo uriInfo, @PathParam("shortName") String shortName, @QueryParam("offset") Integer offset, @QueryParam("limit") Integer limit, @QueryParam("orderBy") String orderBy, @QueryParam("sortOrder") String sortOrder)
    • executeJob

      @POST @Path("{jobId}") public jakarta.ws.rs.core.Response executeJob(@PathParam("jobId") Long jobId, @QueryParam("command") String commandParam, String jsonRequestBody)
    • executeJobByShortName

      @POST @Path("short-name/{shortName}") public jakarta.ws.rs.core.Response executeJobByShortName(@PathParam("shortName") String shortName, @QueryParam("command") String commandParam, String jsonRequestBody)
    • updateJobDetail

      @PUT @Path("{jobId}") public String updateJobDetail(@PathParam("jobId") Long jobId, String jsonRequestBody)
    • updateJobDetailByShortName

      @PUT @Path("short-name/{shortName}") public String updateJobDetailByShortName(@PathParam("shortName") String shortName, String jsonRequestBody)