Package org.opencastproject.animate.impl
Class AnimateServiceImpl
- java.lang.Object
-
- org.opencastproject.job.api.AbstractJobProducer
-
- org.opencastproject.animate.impl.AnimateServiceImpl
-
- All Implemented Interfaces:
org.opencastproject.animate.api.AnimateService,org.opencastproject.job.api.JobProducer,org.osgi.service.cm.ManagedService
public class AnimateServiceImpl extends org.opencastproject.job.api.AbstractJobProducer implements org.opencastproject.animate.api.AnimateService, org.osgi.service.cm.ManagedServiceCreate video animations using Synfig
-
-
Field Summary
Fields Modifier and Type Field Description static StringSYNFIG_BINARY_DEFAULTDefault path to the synfig binary
-
Constructor Summary
Constructors Constructor Description AnimateServiceImpl()Creates a new animate service instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate(org.osgi.service.component.ComponentContext cc)org.opencastproject.job.api.Jobanimate(URI animation, Map<String,String> metadata, List<String> arguments)protected org.opencastproject.security.api.OrganizationDirectoryServicegetOrganizationDirectoryService()protected org.opencastproject.security.api.SecurityServicegetSecurityService()protected org.opencastproject.serviceregistry.api.ServiceRegistrygetServiceRegistry()protected org.opencastproject.security.api.UserDirectoryServicegetUserDirectoryService()protected Stringprocess(org.opencastproject.job.api.Job job)voidsetOrganizationDirectoryService(org.opencastproject.security.api.OrganizationDirectoryService organizationDirectoryService)voidsetSecurityService(org.opencastproject.security.api.SecurityService securityService)voidsetServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry jobManager)voidsetUserDirectoryService(org.opencastproject.security.api.UserDirectoryService userDirectoryService)voidsetWorkspace(org.opencastproject.workspace.api.Workspace workspace)voidupdated(Dictionary properties)
-
-
-
Field Detail
-
SYNFIG_BINARY_DEFAULT
public static final String SYNFIG_BINARY_DEFAULT
Default path to the synfig binary- See Also:
- Constant Field Values
-
-
Method Detail
-
activate
public void activate(org.osgi.service.component.ComponentContext cc)
- Overrides:
activatein classorg.opencastproject.job.api.AbstractJobProducer
-
updated
public void updated(Dictionary properties) throws org.opencastproject.util.ConfigurationException
- Specified by:
updatedin interfaceorg.osgi.service.cm.ManagedService- Throws:
org.opencastproject.util.ConfigurationException
-
process
protected String process(org.opencastproject.job.api.Job job) throws Exception
- Specified by:
processin classorg.opencastproject.job.api.AbstractJobProducer- Throws:
Exception- See Also:
AbstractJobProducer.process(org.opencastproject.job.api.Job)
-
animate
public org.opencastproject.job.api.Job animate(URI animation, Map<String,String> metadata, List<String> arguments) throws org.opencastproject.animate.api.AnimateServiceException
- Specified by:
animatein interfaceorg.opencastproject.animate.api.AnimateService- Throws:
org.opencastproject.animate.api.AnimateServiceException
-
getServiceRegistry
protected org.opencastproject.serviceregistry.api.ServiceRegistry getServiceRegistry()
- Specified by:
getServiceRegistryin classorg.opencastproject.job.api.AbstractJobProducer
-
getSecurityService
protected org.opencastproject.security.api.SecurityService getSecurityService()
- Specified by:
getSecurityServicein classorg.opencastproject.job.api.AbstractJobProducer
-
getUserDirectoryService
protected org.opencastproject.security.api.UserDirectoryService getUserDirectoryService()
- Specified by:
getUserDirectoryServicein classorg.opencastproject.job.api.AbstractJobProducer
-
getOrganizationDirectoryService
protected org.opencastproject.security.api.OrganizationDirectoryService getOrganizationDirectoryService()
- Specified by:
getOrganizationDirectoryServicein classorg.opencastproject.job.api.AbstractJobProducer
-
setWorkspace
public void setWorkspace(org.opencastproject.workspace.api.Workspace workspace)
-
setServiceRegistry
public void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry jobManager)
-
setSecurityService
public void setSecurityService(org.opencastproject.security.api.SecurityService securityService)
-
setUserDirectoryService
public void setUserDirectoryService(org.opencastproject.security.api.UserDirectoryService userDirectoryService)
-
setOrganizationDirectoryService
public void setOrganizationDirectoryService(org.opencastproject.security.api.OrganizationDirectoryService organizationDirectoryService)
-
-