Class YouTubePublicationAdapter
java.lang.Object
org.opencastproject.publication.youtube.YouTubePublicationAdapter
Strategy to determine destination of publication. Instances of this class are not thread-safe.
-
Constructor Summary
ConstructorsConstructorDescriptionYouTubePublicationAdapter(MediaPackage mp, Workspace workspace) Create a single-use strategy instance for publication to youtube -
Method Summary
Modifier and TypeMethodDescriptionGets the name for a context within a publication channel.Gets the name for a context within a publication channel.Gets the description for the episode of the media packageGets the name for the episode of the media package
-
Constructor Details
-
YouTubePublicationAdapter
Create a single-use strategy instance for publication to youtube- Parameters:
mp- the mediapackage identifierworkspace- the workspace service- Throws:
PublicationException
-
-
Method Details
-
getContextName
Gets the name for a context within a publication channel.- Returns:
- The playlist ID
-
getContextDescription
Gets the name for a context within a publication channel.- Returns:
- Context description
-
getEpisodeName
Gets the name for the episode of the media package- Returns:
- the title of the episode
-
getEpisodeDescription
Gets the description for the episode of the media package- Returns:
- the description of the episode
-