Class AbstractElementBuilderPlugin
- java.lang.Object
-
- org.opencastproject.mediapackage.elementbuilder.AbstractElementBuilderPlugin
-
- All Implemented Interfaces:
MediaPackageElementBuilderPlugin
- Direct Known Subclasses:
AbstractAttachmentBuilderPlugin
,PublicationBuilderPlugin
,TrackBuilderPlugin
public abstract class AbstractElementBuilderPlugin extends Object implements MediaPackageElementBuilderPlugin
This general implementation of a media package element builder supports specialized implementations by providing tests on the filename an mime type of the file in question.
-
-
Constructor Summary
Constructors Constructor Description AbstractElementBuilderPlugin()
Creates a new abstract element builder plugin.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
This is a convenience implementation for subclasses doing nothing.int
getPriority()
Returns -1 by default.void
init()
This is a convenience implementation for subclasses doing nothing.void
setPriority(int priority)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opencastproject.mediapackage.elementbuilder.MediaPackageElementBuilderPlugin
accept, accept, accept, elementFromManifest, elementFromURI, newElement
-
-
-
-
Method Detail
-
init
public void init()
This is a convenience implementation for subclasses doing nothing.- Specified by:
init
in interfaceMediaPackageElementBuilderPlugin
- See Also:
MediaPackageElementBuilderPlugin.init()
-
destroy
public void destroy()
This is a convenience implementation for subclasses doing nothing.- Specified by:
destroy
in interfaceMediaPackageElementBuilderPlugin
- See Also:
MediaPackageElementBuilderPlugin.destroy()
-
getPriority
public int getPriority()
Returns -1 by default.
-
setPriority
public void setPriority(int priority)
-
-