Package net.jqwik.api.domains
Class AbstractDomainContextBase
- java.lang.Object
-
- net.jqwik.api.domains.AbstractDomainContextBase
-
- All Implemented Interfaces:
DomainContext
@API(status=EXPERIMENTAL, since="1.1") public abstract class AbstractDomainContextBase extends java.lang.Object implements DomainContext
Subclass for easier implementation of DomainContext- See Also:
DomainContext
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.jqwik.api.domains.DomainContext
DomainContext.DomainContextFacade, DomainContext.Global
-
-
Constructor Summary
Constructors Constructor Description AbstractDomainContextBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ArbitraryConfigurator>
getArbitraryConfigurators()
java.util.List<ArbitraryProvider>
getArbitraryProviders()
protected <T> void
registerArbitrary(java.lang.Class<T> registeredType, Arbitrary<T> arbitrary)
protected void
registerArbitrary(TypeUsage registeredType, Arbitrary<?> arbitrary)
protected void
registerConfigurator(ArbitraryConfigurator configurator)
protected void
registerProvider(ArbitraryProvider provider)
void
setDefaultPriority(int priority)
-
-
-
Method Detail
-
getArbitraryProviders
public java.util.List<ArbitraryProvider> getArbitraryProviders()
- Specified by:
getArbitraryProviders
in interfaceDomainContext
-
getArbitraryConfigurators
public java.util.List<ArbitraryConfigurator> getArbitraryConfigurators()
- Specified by:
getArbitraryConfigurators
in interfaceDomainContext
-
setDefaultPriority
public void setDefaultPriority(int priority)
- Specified by:
setDefaultPriority
in interfaceDomainContext
-
registerProvider
protected void registerProvider(ArbitraryProvider provider)
-
registerArbitrary
protected void registerArbitrary(TypeUsage registeredType, Arbitrary<?> arbitrary)
-
registerArbitrary
protected <T> void registerArbitrary(java.lang.Class<T> registeredType, Arbitrary<T> arbitrary)
-
registerConfigurator
protected void registerConfigurator(ArbitraryConfigurator configurator)
-
-