Klasse SchedulerRestService

java.lang.Object
org.imixs.workflow.jaxrs.SchedulerRestService

@Path("/scheduler") @Produces({"text/html","application/xml","application/json","text/xml"}) public class SchedulerRestService extends Object
The SchedulerRestService provides methods to
  • Load a Scheduler configuration
  • Save a Scheduler configuration
  • Start a Scheduler
  • Stop a Scheduler
Autor:
rsoika
Siehe auch:
  • Konstruktordetails

    • SchedulerRestService

      public SchedulerRestService()
  • Methodendetails

    • getHelpHTML

      @GET @Produces("text/html") @Path("/help") public jakarta.ws.rs.core.StreamingOutput getHelpHTML()
    • updateSchedulerConfiguration

      @POST @Path("/") @Produces("application/xml") @Consumes({"application/xml","text/xml"}) public jakarta.ws.rs.core.Response updateSchedulerConfiguration(XMLDocument xmlworkitem)
      Update a scheduler configuration

      If the scheduler configuration is 'enabled' the scheduler will be started automatically. Otherwise the scheduler will be stopped if running

      Parameter:
      xmlworkitem - - entity to be saved
      Gibt zurück:
    • loadConfiguration

      @GET @Path("/{name}") public jakarta.ws.rs.core.Response loadConfiguration(@PathParam("name") String name, @QueryParam("items") String items, @QueryParam("format") String format)
      Returns a scheduler configuration by its name
      Parameter:
      name - - name of the configuration
      Gibt zurück:
      the scheduler configuration entity