Class YouTubePublicationAdapter

java.lang.Object
org.opencastproject.publication.youtube.YouTubePublicationAdapter

public class YouTubePublicationAdapter extends Object
Strategy to determine destination of publication. Instances of this class are not thread-safe.
  • Constructor Details

    • YouTubePublicationAdapter

      public YouTubePublicationAdapter(org.opencastproject.mediapackage.MediaPackage mp, org.opencastproject.workspace.api.Workspace workspace) throws org.opencastproject.publication.api.PublicationException
      Create a single-use strategy instance for publication to youtube
      Parameters:
      mp - the mediapackage identifier
      workspace - the workspace service
      Throws:
      org.opencastproject.publication.api.PublicationException
  • Method Details

    • getContextName

      public String getContextName()
      Gets the name for a context within a publication channel.
      Returns:
      The playlist ID
    • getContextDescription

      public String getContextDescription()
      Gets the name for a context within a publication channel.
      Returns:
      Context description
    • getEpisodeName

      public String getEpisodeName()
      Gets the name for the episode of the media package
      Returns:
      the title of the episode
    • getEpisodeDescription

      public String getEpisodeDescription()
      Gets the description for the episode of the media package
      Returns:
      the description of the episode