Interface GoogleNewsExtension
- All Superinterfaces:
Extension
An extension to add news metadata to an
Url.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumstatic enum -
Method Summary
Modifier and TypeMethodDescription@NotNull GoogleNewsExtensionsetAccessRestriction(@Nullable GoogleNewsExtension.AccessRestriction accessRestriction) @NotNull GoogleNewsExtensionsetGenres(@Nullable Collection<GoogleNewsExtension.Genre> genres) @NotNull GoogleNewsExtensionsetKeywords(@Nullable Collection<String> keywords) @NotNull GoogleNewsExtensionsetPublication(@NotNull String name, @NotNull Locale locale) @NotNull GoogleNewsExtensionsetPublicationDate(@NotNull LocalDate date) @NotNull GoogleNewsExtensionsetPublicationDate(@NotNull OffsetDateTime date) @NotNull GoogleNewsExtensionsetStockTickers(@Nullable Collection<String> stockTickers) @NotNull GoogleNewsExtension
-
Method Details
-
setPublication
@NotNull @NotNull GoogleNewsExtension setPublication(@NotNull @NotNull String name, @NotNull @NotNull Locale locale) -
setPublicationDate
-
setPublicationDate
-
setTitle
-
setAccessRestriction
@NotNull @NotNull GoogleNewsExtension setAccessRestriction(@Nullable @Nullable GoogleNewsExtension.AccessRestriction accessRestriction) -
setGenres
@NotNull @NotNull GoogleNewsExtension setGenres(@Nullable @Nullable Collection<GoogleNewsExtension.Genre> genres) -
setKeywords
-
setStockTickers
@NotNull @NotNull GoogleNewsExtension setStockTickers(@Nullable @Nullable Collection<String> stockTickers)
-