Class RunVideos


  • public class RunVideos
    extends Object
    Has information about all video links in the run.
    Includes the main video section and videos linked in the description.
    If the main video section contains more than just a video link, text is set.

    This class is immutable and thread-safe.
    • Method Detail

      • getText

        public Optional<String> getText()
        Gets the full text of the main video section if it contains more than just a video link.
        Returns:
        an Optional with the full text
      • getLinks

        public List<Link> getLinks()
        Gets the video links mentioned in the run.
        If the main video section contains a valid video link, it will be at the end of the returned list.
        Returns:
        an unmodifiable List of Links to videos