Package io.micronaut.rss
Class RssChannel.Builder
java.lang.Object
io.micronaut.rss.RssChannel.Builder
- Enclosing class:
- RssChannel
RSS Channel Builder.
-
Method Summary
Modifier and TypeMethodDescription@NonNull RssChannel
build()
@NonNull RssChannel.Builder
@NonNull RssChannel.Builder
@NonNull RssChannel.Builder
@NonNull RssChannel.Builder
@NonNull RssChannel.Builder
@NonNull RssChannel.Builder
image
(RssChannelImage image) @NonNull RssChannel.Builder
@NonNull RssChannel.Builder
language
(RssLanguage language) @NonNull RssChannel.Builder
lastBuildDate
(ZonedDateTime lastBuildDate) @NonNull RssChannel.Builder
managingEditor
(String managingEditor) @NonNull RssChannel.Builder
pubDate
(ZonedDateTime pubDate) @NonNull RssChannel.Builder
@NonNull RssChannel.Builder
skipDays
(List<RssSkipDays> skipDays) @NonNull RssChannel.Builder
skipHours
(List<RssSkipHours> skipHours) @NonNull RssChannel.Builder
textInput
(RssTextInput textInput) @NonNull RssChannel.Builder
@NonNull RssChannel.Builder
-
Method Details
-
language
- Parameters:
language
- The language the channel is written in.- Returns:
- The Builder.
-
copyright
- Parameters:
copyright
- Copyright notice for content in the channel.- Returns:
- The Builder.
-
managingEditor
- Parameters:
managingEditor
- Email address for person responsible for editorial content.- Returns:
- The Builder.
-
webMaster
- Parameters:
webMaster
- Email address for person responsible for technical issues relating to channel.- Returns:
- The Builder.
-
pubDate
- Parameters:
pubDate
- The publication date for the content in the channel.- Returns:
- The Builder.
-
lastBuildDate
- Parameters:
lastBuildDate
- The last time the content of the channel changed.- Returns:
- The Builder.
-
category
- Parameters:
category
- a category to associate the RSS Channel with.- Returns:
- The Builder.
-
generator
- Parameters:
generator
- A string indicating the program used to generate the channel.- Returns:
- The Builder.
-
docs
- Parameters:
docs
- A URL that points to the documentation for the format used in the RSS file.- Returns:
- The Builder.
-
cloud
- Parameters:
cloud
- A cloud.- Returns:
- The Builder.
-
ttl
- Parameters:
ttl
- time to live expressed in minutes.- Returns:
- the Builder
-
image
- Parameters:
image
- GIF, JPEG or PNG image that can be displayed with the channel- Returns:
- The Builder.
-
rating
- Parameters:
rating
- The PICS rating for the channel.- Returns:
- The Builder.
-
textInput
- Parameters:
textInput
- a text input box- Returns:
- The Builder.
-
skipHours
- Parameters:
skipHours
- a List ofRssSkipHours
.- Returns:
- The Builder.
-
skipDays
- Parameters:
skipDays
- a List ofRssSkipDays
.- Returns:
- The Builder.
-
item
- Parameters:
item
- An RSS Item.- Returns:
- The Builder.
-
build
- Returns:
- A RSS Channel.
-