Annotation Type Feed.Source

Enclosing interface:
Feed

@ExperimentalApi @Target(TYPE) @Retention(RUNTIME) public static @interface Feed.Source
An annotation for specifying data for a Feed.
Since:
5.0.0
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specifies the path to a file on the filesystem containing the data for a feed.
    Specifies the name of a classpath resource containing the data for a feed.
    Specifies inline data for a feed as a string.
  • Element Details

    • string

      Specifies inline data for a feed as a string.
      Returns:
      the data for a feed as a string
      Since:
      5.0.0
      Default:
      ""
    • resource

      Specifies the name of a classpath resource containing the data for a feed.

      A given value should not have a leading slash. For example, "sample.csv" will load the specified file from the root of the classpath.

      Returns:
      the name of a classpath resource
      Since:
      5.0.0
      Default:
      ""
    • file

      Specifies the path to a file on the filesystem containing the data for a feed.
      Returns:
      the path to a file
      Since:
      5.0.0
      Default:
      ""