Class TasksEndpoint
java.lang.Object
org.opencastproject.adminui.endpoint.TasksEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.framework.BundleContext bundleContext) javax.ws.rs.core.ResponsecreateNewTask(String metadata) javax.ws.rs.core.ResponsegetProcessing(String tagsString) voidsetAssetManager(AssetManager assetManager) OSGi callback to set the asset manager.voidsetWorkflowService(WorkflowService workflowService) OSGi callback for the workflow service.
-
Constructor Details
-
TasksEndpoint
public TasksEndpoint()
-
-
Method Details
-
setWorkflowService
OSGi callback for the workflow service. -
setAssetManager
OSGi callback to set the asset manager. -
activate
protected void activate(org.osgi.framework.BundleContext bundleContext) -
getProcessing
@GET @Path("processing.json") public javax.ws.rs.core.Response getProcessing(@QueryParam("tags") String tagsString) -
createNewTask
@POST @Path("/new") public javax.ws.rs.core.Response createNewTask(@FormParam("metadata") String metadata) throws NotFoundException - Throws:
NotFoundException
-