Package org.imixs.workflow.jaxrs
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:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungjakarta.ws.rs.core.StreamingOutputjakarta.ws.rs.core.ResponseloadConfiguration(String name, String items, String format) Returns a scheduler configuration by its namejakarta.ws.rs.core.ResponseupdateSchedulerConfiguration(XMLDocument xmlworkitem) Update a scheduler configuration
-
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 configurationIf 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
-