Interface LinkBuilder


@ConsumerType public interface LinkBuilder
Builds a link and uses the specified link properties.
  • Method Details

    • withLinkUrlPropertyName

      @NotNull @NotNull LinkBuilder withLinkUrlPropertyName(@NotNull @NotNull 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 String target)
      Uses the specified HTML link target.
      Parameters:
      target - The link target
      Returns:
      LinkBuilder
    • withLinkAttribute

      @NotNull @NotNull LinkBuilder withLinkAttribute(@NotNull @NotNull String name, @Nullable @Nullable String value)
      Uses the specified HTML link attribute.
      Parameters:
      name - The attribute name
      value - The attribute value
      Returns:
      LinkBuilder
    • build

      @NotNull @NotNull Link build()
      Returns the resolved link.
      Returns:
      Link