Class URLGenerator

All Implemented Interfaces:
Generator, TypedGenerator<URL>

@API(status=STABLE, since="0.1") @Priority(-1000) public class URLGenerator extends AbstractTypedGenerator<URL>
Generator of URL values.
Since:
0.1
Version:
1.0, 2022-11
Author:
(w) Iker Hernaez
  • Field Details

  • Constructor Details

    • URLGenerator

      public URLGenerator()
      Creates a new instance.
  • Method Details

    • defaultValue

      @NotNull public @NotNull URL defaultValue()
      Returns the default value of the supported type.
      Returns:
      The default value.
    • randomValue

      @NotNull public @NotNull URL randomValue()
      Returns a random value of the supported type.
      Returns:
      A random value.
    • randomURL

      @NotNull public static @NotNull URL randomURL()
      Returns a random URL.
      Returns:
      The URL