Class ConfigurablePublicationRestService
java.lang.Object
org.opencastproject.rest.AbstractJobProducerEndpoint
org.opencastproject.publication.configurable.endpoint.ConfigurablePublicationRestService
@Path("/publication/api")
public class ConfigurablePublicationRestService
extends AbstractJobProducerEndpoint
Rest endpoint, mainly for publishing media to a configurable channel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the job producer that is backing this REST endpoint.Return the service registry.javax.ws.rs.core.Responsejavax.ws.rs.core.ResponsereplaceSync(String mediaPackageXml, String channel, String addElementsXml, String retractElements) voidsetService(ConfigurablePublicationService service) voidsetServiceRegistry(ServiceRegistry serviceRegistry) Methods inherited from class org.opencastproject.rest.AbstractJobProducerEndpoint
checkHeartbeat, dispatchJob
-
Constructor Details
-
ConfigurablePublicationRestService
public ConfigurablePublicationRestService()
-
-
Method Details
-
setService
-
setServiceRegistry
-
getService
Description copied from class:AbstractJobProducerEndpointReturns the job producer that is backing this REST endpoint.- Specified by:
getServicein classAbstractJobProducerEndpoint- Returns:
- the job producer
-
getServiceRegistry
Description copied from class:AbstractJobProducerEndpointReturn the service registry.- Specified by:
getServiceRegistryin classAbstractJobProducerEndpoint
-
replace
-
replaceSync
-