public class Matchers
public static Matchers INSTANCE
@NotNull public kotlin.text.Regex getHEXADECIMAL()
@NotNull public kotlin.text.Regex getIP_ADDRESS()
@NotNull public kotlin.text.Regex getUUID_REGEX()
@JvmOverloads @JvmStatic @NotNull public static Matcher regexp(@NotNull java.util.regex.Pattern re, @Nullable java.lang.String value)
Match a regular expression
re - Regular expression patternvalue - Example value, if not provided a random one will be generated@JvmOverloads @JvmStatic @NotNull public static Matcher regexp(@NotNull java.util.regex.Pattern re)
Match a regular expression
re - Regular expression pattern@JvmOverloads @JvmStatic @NotNull public static Matcher regexp(@NotNull java.lang.String regexp, @Nullable java.lang.String value)
Match a regular expression
value - Example value, if not provided a random one will be generated@JvmOverloads @JvmStatic @NotNull public static Matcher regexp(@NotNull java.lang.String regexp)
Match a regular expression
@JvmOverloads @JvmStatic @NotNull public static Matcher hexValue(@Nullable java.lang.String value)
Match a hexadecimal value
value - Example value, if not provided a random one will be generated@JvmOverloads @JvmStatic @NotNull public static Matcher hexValue()
Match a hexadecimal value
@JvmOverloads @JvmStatic @NotNull public static Matcher identifier(@Nullable java.lang.Object value)
Match a numeric identifier (integer)
value - Example value, if not provided a random one will be generated@JvmOverloads @JvmStatic @NotNull public static Matcher identifier()
Match a numeric identifier (integer)
@JvmOverloads @JvmStatic @NotNull public static Matcher ipAddress(@Nullable java.lang.String value)
Match an IP Address
value - Example value, if not provided 127.0.0.1 will be generated@JvmOverloads @JvmStatic @NotNull public static Matcher ipAddress()
Match an IP Address
@JvmOverloads @JvmStatic @NotNull public static Matcher numeric(@Nullable java.lang.Number value)
Match a numeric value
value - Example value, if not provided a random one will be generated@JvmOverloads @JvmStatic @NotNull public static Matcher numeric()
Match a numeric value
@JvmOverloads @JvmStatic @NotNull public static Matcher decimal(@Nullable java.lang.Number value)
Match a decimal value
value - Example value, if not provided a random one will be generated@JvmOverloads @JvmStatic @NotNull public static Matcher decimal()
Match a decimal value
@JvmOverloads @JvmStatic @NotNull public static Matcher integer(@Nullable java.lang.Long value)
Match an integer value
value - Example value, if not provided a random one will be generated@JvmOverloads @JvmStatic @NotNull public static Matcher integer()
Match an integer value
@JvmOverloads @JvmStatic @NotNull public static Matcher timestamp(@Nullable java.lang.String pattern, @Nullable java.lang.String value)
Match a timestamp
pattern - Pattern to use to match. If not provided, an ISO pattern will be used.value - Example value, if not provided the current date and time will be used@JvmOverloads @JvmStatic @NotNull public static Matcher timestamp(@Nullable java.lang.String pattern)
Match a timestamp
pattern - Pattern to use to match. If not provided, an ISO pattern will be used.@JvmOverloads @JvmStatic @NotNull public static Matcher timestamp()
Match a timestamp
@JvmOverloads @JvmStatic @NotNull public static Matcher time(@Nullable java.lang.String pattern, @Nullable java.lang.String value)
Match a time
pattern - Pattern to use to match. If not provided, an ISO pattern will be used.value - Example value, if not provided the current time will be used@JvmOverloads @JvmStatic @NotNull public static Matcher time(@Nullable java.lang.String pattern)
Match a time
pattern - Pattern to use to match. If not provided, an ISO pattern will be used.@JvmOverloads @JvmStatic @NotNull public static Matcher time()
Match a time
@JvmOverloads @JvmStatic @NotNull public static Matcher date(@Nullable java.lang.String pattern, @Nullable java.lang.String value)
Match a date
pattern - Pattern to use to match. If not provided, an ISO pattern will be used.value - Example value, if not provided the current date will be used@JvmOverloads @JvmStatic @NotNull public static Matcher date(@Nullable java.lang.String pattern)
Match a date
pattern - Pattern to use to match. If not provided, an ISO pattern will be used.@JvmOverloads @JvmStatic @NotNull public static Matcher date()
Match a date
@JvmOverloads @JvmStatic @NotNull public static Matcher uuid(@Nullable java.lang.String value)
Match a universally unique identifier (UUID)
value - optional value to use for examples@JvmOverloads @JvmStatic @NotNull public static Matcher uuid()
Match a universally unique identifier (UUID)
@JvmOverloads @JvmStatic @NotNull public static Matcher string(@Nullable java.lang.String value)
Match any string value
value - Example value, if not provided a random one will be generated@JvmOverloads @JvmStatic @NotNull public static Matcher string()
Match any string value
@JvmOverloads @JvmStatic @NotNull public static Matcher bool(@Nullable java.lang.Boolean value)
Match any boolean
value - Example value, if not provided a random one will be generated@JvmOverloads @JvmStatic @NotNull public static Matcher bool()
Match any boolean
@JvmStatic @NotNull public static Matcher equalTo(@NotNull java.lang.Object value)
Match Equality
value - Value to match to@JvmStatic @NotNull public static Matcher includesStr(@NotNull java.lang.String value)
Matches if the string is included in the value
value - String value that must be present@JvmStatic @NotNull public static Matcher nullValue()
Matches a null value