Class ConfigurablePublicationRestService
java.lang.Object
org.opencastproject.rest.AbstractJobProducerEndpoint
org.opencastproject.publication.configurable.endpoint.ConfigurablePublicationRestService
@Path("/publication/api")
public class ConfigurablePublicationRestService
extends org.opencastproject.rest.AbstractJobProducerEndpoint
Rest endpoint, mainly for publishing media to a configurable channel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.opencastproject.job.api.JobProducerorg.opencastproject.serviceregistry.api.ServiceRegistryjavax.ws.rs.core.Responsejavax.ws.rs.core.ResponsereplaceSync(String mediaPackageXml, String channel, String addElementsXml, String retractElements) voidsetService(org.opencastproject.publication.api.ConfigurablePublicationService service) voidsetServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) Methods inherited from class org.opencastproject.rest.AbstractJobProducerEndpoint
checkHeartbeat, dispatchJob
-
Constructor Details
-
ConfigurablePublicationRestService
public ConfigurablePublicationRestService()
-
-
Method Details
-
setService
public void setService(org.opencastproject.publication.api.ConfigurablePublicationService service) -
setServiceRegistry
public void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) -
getService
public org.opencastproject.job.api.JobProducer getService()- Specified by:
getServicein classorg.opencastproject.rest.AbstractJobProducerEndpoint
-
getServiceRegistry
public org.opencastproject.serviceregistry.api.ServiceRegistry getServiceRegistry()- Specified by:
getServiceRegistryin classorg.opencastproject.rest.AbstractJobProducerEndpoint
-
replace
-
replaceSync
-