Class NewsSourceDescriptor


  • @Unstable
    public class NewsSourceDescriptor
    extends Object
    Defines a news source.
    Since:
    15.1RC1
    Version:
    $Id: 1e9bb8a235864598b108d4c33aee3b9b93591f96 $
    • Method Detail

      • getId

        public String getId()
        Returns:
        the source id (used to identify a source instance, can be any value)
      • getSourceTypeHint

        public String getSourceTypeHint()
        Returns:
        the hint to locate the source factory component to create a source object
      • getParameters

        public Map<String,​String> getParameters()
        Returns:
        the source-specific parameters (e.g. the XWiki Blog source requires a rssURL parameter)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object