Interface LinkBuilder
-
@ConsumerType public interface LinkBuilder
Builds a link and uses the specified link properties.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Linkbuild()Returns the resolved link.@NotNull LinkBuilderwithLinkAttribute(@NotNull java.lang.String name, @Nullable java.lang.String value)Uses the specified HTML link attribute.@NotNull LinkBuilderwithLinkTarget(@NotNull java.lang.String target)Uses the specified HTML link target.@NotNull LinkBuilderwithLinkUrlPropertyName(@NotNull java.lang.String name)Uses the specified property name to read the link URL from.
-
-
-
Method Detail
-
withLinkUrlPropertyName
@NotNull @NotNull LinkBuilder withLinkUrlPropertyName(@NotNull @NotNull java.lang.String name)
Uses the specified property name to read the link URL from.- Parameters:
name- The property name- Returns:
LinkBuilder
-
withLinkTarget
@NotNull @NotNull LinkBuilder withLinkTarget(@NotNull @NotNull java.lang.String target)
Uses the specified HTML link target.- Parameters:
target- The link target- Returns:
LinkBuilder
-
withLinkAttribute
@NotNull @NotNull LinkBuilder withLinkAttribute(@NotNull @NotNull java.lang.String name, @Nullable @Nullable java.lang.String value)
Uses the specified HTML link attribute.- Parameters:
name- The attribute namevalue- The attribute value- Returns:
LinkBuilder
-
-