Class CoverImageWorkflowOperationHandler
java.lang.Object
org.opencastproject.workflow.api.AbstractWorkflowOperationHandler
org.opencastproject.workflow.handler.coverimage.CoverImageWorkflowOperationHandlerBase
org.opencastproject.workflow.handler.coverimage.CoverImageWorkflowOperationHandler
- All Implemented Interfaces:
WorkflowOperationHandler
Implementation of
CoverImageWorkflowOperationHandlerBase for usage in an OSGi context-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencastproject.workflow.api.AbstractWorkflowOperationHandler
AbstractWorkflowOperationHandler.Configuration -
Field Summary
Fields inherited from class org.opencastproject.workflow.api.AbstractWorkflowOperationHandler
asList, description, id, serviceRegistry, SOURCE_FLAVOR, SOURCE_FLAVORS, SOURCE_TAG, SOURCE_TAGS, TARGET_FLAVOR, TARGET_FLAVORS, TARGET_TAG, TARGET_TAGS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(org.osgi.framework.BundleContext bundleContext) protected CoverImageServiceReturns a cover image serviceprotected DublinCoreCatalogServiceReturns a dublin core catalog serviceprotected StringReturns value of karaf.etcprotected StaticMetadataServiceReturns a static metadata serviceprotected WorkspaceReturns a workspace serviceprotected voidsetCoverImageService(CoverImageService coverImageService) OSGi callback to set the cover image serviceprotected voidOSGi callback to set the dublin core catalog servicevoidsetServiceRegistry(ServiceRegistry serviceRegistry) Sets the service registry.protected voidOSGi callback to set the static metadata serviceprotected voidsetWorkspace(Workspace workspace) OSGi callback to set the workspace serviceMethods inherited from class org.opencastproject.workflow.handler.coverimage.CoverImageWorkflowOperationHandlerBase
appendXml, getIntConfiguration, getMetadataXml, getPosterImageFileUrl, getPosterImageFileUrl, getValuesAsString, loadXsl, startMethods inherited from class org.opencastproject.workflow.api.AbstractWorkflowOperationHandler
activate, asList, cfgKeyMissing, createResult, createResult, createResult, createResult, destroy, equals, getCfg, getConfig, getConfig, getConfig, getDescription, getFileNameFromElements, getId, getOptConfig, getOptConfig, getTagsAndFlavors, hashCode, setJobBarrierPollingInterval, skip, toString, waitForStatus, waitForStatus
-
Constructor Details
-
CoverImageWorkflowOperationHandler
public CoverImageWorkflowOperationHandler()
-
-
Method Details
-
activate
public void activate(org.osgi.framework.BundleContext bundleContext) -
setCoverImageService
OSGi callback to set the cover image service- Parameters:
coverImageService- an instance of the cover image service
-
setWorkspace
OSGi callback to set the workspace service- Parameters:
workspace- an instance of the workspace service
-
setStaticMetadataService
OSGi callback to set the static metadata service- Parameters:
srv- an instance of the static metadata service
-
setDublinCoreCatalogService
OSGi callback to set the dublin core catalog service- Parameters:
dcService- an instance of the dublin core catalog service
-
setServiceRegistry
Description copied from class:AbstractWorkflowOperationHandlerSets the service registry. This method is here as a convenience for developers that need the registry to do job waiting.- Overrides:
setServiceRegistryin classAbstractWorkflowOperationHandler- Parameters:
serviceRegistry- the service registry
-
getCoverImageService
Description copied from class:CoverImageWorkflowOperationHandlerBaseReturns a cover image service- Specified by:
getCoverImageServicein classCoverImageWorkflowOperationHandlerBase
-
getWorkspace
Description copied from class:CoverImageWorkflowOperationHandlerBaseReturns a workspace service- Specified by:
getWorkspacein classCoverImageWorkflowOperationHandlerBase
-
getStaticMetadataService
Description copied from class:CoverImageWorkflowOperationHandlerBaseReturns a static metadata service- Specified by:
getStaticMetadataServicein classCoverImageWorkflowOperationHandlerBase
-
getDublinCoreCatalogService
Description copied from class:CoverImageWorkflowOperationHandlerBaseReturns a dublin core catalog service- Specified by:
getDublinCoreCatalogServicein classCoverImageWorkflowOperationHandlerBase
-
getKarafEtc
Description copied from class:CoverImageWorkflowOperationHandlerBaseReturns value of karaf.etc- Specified by:
getKarafEtcin classCoverImageWorkflowOperationHandlerBase
-