public final class PageDataBuilder extends GenericDataBuilder<T,K>
PageData object.| Modifier and Type | Method and Description |
|---|---|
@NotNull PageData |
build()
Build the data.
|
T |
withDescription(@NotNull Supplier<String> supplier)
Set the supplier that supplies the component's description.
|
@NotNull PageDataBuilder |
withLanguage(@NotNull Supplier<String> supplier)
Set the supplier that supplies the page's language data.
|
T |
withLastModifiedDate(@NotNull Supplier<Date> supplier)
Set the supplier that supplies the component's last modified date.
|
T |
withLinkUrl(@NotNull Supplier<String> supplier)
Sets the supplier that supplies the component's link URL.
|
T |
withParentId(@NotNull Supplier<String> supplier)
Set the supplier that supplies the component's parent ID.
|
@NotNull PageDataBuilder |
withTags(@NotNull Supplier<String[]> supplier)
Set the supplier that supplies the page's tags data.
|
@NotNull PageDataBuilder |
withTemplatePath(@NotNull Supplier<String> supplier)
Set the supplier that supplies the page's template path data.
|
T |
withText(@NotNull Supplier<String> supplier)
Set the supplier that supplies the component's text.
|
T |
withTitle(@NotNull Supplier<String> supplier)
Set the supplier that supplies the component's title.
|
T |
withType(@NotNull Supplier<String> supplier)
Set the supplier that supplies the component's type.
|
@NotNull PageDataBuilder |
withUrl(@NotNull Supplier<String> supplier)
Set the supplier that supplies the page's URL data.
|
withId@NotNull public @NotNull PageDataBuilder withTags(@NotNull @NotNull Supplier<String[]> supplier)
supplier - The tags data value supplier.PageDataBuilder.PageData.getTags()@NotNull public @NotNull PageDataBuilder withUrl(@NotNull @NotNull Supplier<String> supplier)
supplier - The URL data value supplier.PageDataBuilder.PageData.getUrl()@NotNull public @NotNull PageDataBuilder withTemplatePath(@NotNull @NotNull Supplier<String> supplier)
supplier - The template path data value supplier.PageDataBuilder.PageData.getTemplatePath()@NotNull public @NotNull PageDataBuilder withLanguage(@NotNull @NotNull Supplier<String> supplier)
supplier - The language data value supplier.PageDataBuilder.PageData.getLanguage()@NotNull public @NotNull PageData build()
GenericDataBuilderbuild in class GenericDataBuilder<PageDataBuilder,PageData>@NotNull
public T withType(@NotNull
@NotNull Supplier<String> supplier)
supplier - The type value supplier.ComponentData.getType()@NotNull
public T withLastModifiedDate(@NotNull
@NotNull Supplier<Date> supplier)
supplier - The last modified date value supplier.ComponentData.getLastModifiedDate()@NotNull
public T withParentId(@NotNull
@NotNull Supplier<String> supplier)
supplier - The parent ID value supplier.ComponentData.getParentId()@NotNull
public T withTitle(@NotNull
@NotNull Supplier<String> supplier)
supplier - The title value supplier.ComponentData.getTitle()@NotNull
public T withDescription(@NotNull
@NotNull Supplier<String> supplier)
supplier - The description value supplier.ComponentData.getDescription()@NotNull
public T withText(@NotNull
@NotNull Supplier<String> supplier)
supplier - The text value supplier.ComponentData.getText()@NotNull
public T withLinkUrl(@NotNull
@NotNull Supplier<String> supplier)
supplier - The link URL value supplier.ComponentData.getLinkUrl()Copyright © 2020. All rights reserved.