Interface RssFeedElement

    • Method Detail

      • getCacheTimeOut

        int getCacheTimeOut()
        Returns cache out time of the feed in seconds.
        Returns:
        cache out time of the feed in seconds.
      • setCacheTimeOut

        void setCacheTimeOut​(int cacheTimeout)
        Sets the cache out time of the feed in seconds.
        Parameters:
        cacheTimeout - cache out time of the feed in seconds to set.
      • setUrl

        void setUrl​(String url)
        Sets the URL of the feed
        Parameters:
        url - The URL of the feed to set
      • getFeed

        RssFeed getFeed()
        Returns parsed feed.
        Returns:
        parsed feed.
      • getShowNewsItemFrom

        int getShowNewsItemFrom()
        Returns the index of the first item from the feed that should be shown or -1 if this value was not configured.
        Returns:
        the index of the first item from the feed that should be shown or -1 if this value was not configured
      • setShowNewsItemFrom

        void setShowNewsItemFrom​(int from)
        Sets the index of the first item from the feed that should be shown or -1 if this value is not configured.
        Parameters:
        from - the index of the first item to set from the feed that should be shown or -1 if this value is not configured
      • getShowNewsItemTo

        int getShowNewsItemTo()
        Returns the index of the last item from the feed that should be shown or -1 if this value was not configured.
        Returns:
        the index of the last item from the feed that should be shown or -1 if this value was not configured
      • setShowNewsItemTo

        void setShowNewsItemTo​(int to)
        Sets the index of the last item from the feed that should be shown or -1 if this value is not configured.
        Parameters:
        to - the index of the last item to set from the feed that should be shown or -1 if this value is not configured