All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.jqwik.web.api.EmailArbitrary Maven / Gradle / Ivy

package net.jqwik.web.api;

import org.apiguardian.api.*;

import net.jqwik.api.*;

import static org.apiguardian.api.API.Status.*;

/**
 * Fluent interface to configure arbitraries that generate valid email addresses.
 *
 * 

* By default only standard emails of the form {@code [email protected]} are generated. * Other options like quoted local parts and ip addresses as host can be switched on. *

*/ @API(status = MAINTAINED, since = "1.4.0") public interface EmailArbitrary extends Arbitrary { /** * Allow the local part of an email to be quoted within {@literal "} characters. * * @return new instance of arbitrary */ EmailArbitrary allowQuotedLocalPart(); /** * Allow IPv4 addresses in the host part. * * @return new instance of arbitrary */ EmailArbitrary allowIpv4Host(); /** * Allow IPv6 addresses in the host part. * * @return new instance of arbitrary */ EmailArbitrary allowIpv6Host(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy