Interface NewsConfiguration


  • @Unstable
    @Role
    public interface NewsConfiguration
    Configuration options for the What's New extension.
    Since:
    15.1RC1
    Version:
    $Id: 80b2f0462d3e261a9211a8ec4825671c112b565b $
    • Method Detail

      • getNewsSourceDescriptors

        List<NewsSourceDescriptor> getNewsSourceDescriptors()
        Returns:
        the list of news sources to use
      • getNewsRefreshRate

        long getNewsRefreshRate()
        Returns:
        the time after which a check for new news should be performed (in seconds)
      • getNewsDisplayCount

        int getNewsDisplayCount()
        Returns:
        the maximum number of news items to display at once, from each source
      • isActive

        boolean isActive()
        Returns:
        true if the feature is active or false otherwise (not configuring any News source makes the feature inactive)