public final class Fairy extends Object
Modifier and Type | Method and Description |
---|---|
BaseProducer |
baseProducer()
Use this method for get standard tools
|
static Bootstrap.Builder |
builder() |
Company |
company(CompanyProperties.CompanyProperty... companyProperties)
Use this method to generate fake company
|
static Fairy |
create() |
static Fairy |
create(Locale locale) |
static Fairy |
create(com.google.inject.Provider<DataMaster> dataMasterProvider,
Locale locale) |
CreditCard |
creditCard() |
DateProducer |
dateProducer() |
IBAN |
iban()
Use this method for generating IBAN (International Bank Account Number)
|
IBAN |
iban(IBANProperties.Property... properties)
Use this method for generating IBAN (International Bank Account Number)
|
NetworkProducer |
networkProducer() |
Person |
person(PersonProperties.PersonProperty... personProperties)
Use this method for fake persons
|
TextProducer |
textProducer()
Use this method for generating texts
|
public static Fairy create()
public static Fairy create(com.google.inject.Provider<DataMaster> dataMasterProvider, Locale locale)
public static Bootstrap.Builder builder()
public TextProducer textProducer()
TextProducer
instancepublic Person person(PersonProperties.PersonProperty... personProperties)
personProperties
- desired person featuresPerson
instancepublic Company company(CompanyProperties.CompanyProperty... companyProperties)
companyProperties
- desired company featuresCompanyProvider
instancepublic BaseProducer baseProducer()
BaseProducer
instancepublic DateProducer dateProducer()
public IBAN iban()
IBAN
instancepublic IBAN iban(IBANProperties.Property... properties)
properties
- desired IBAN featuresIBAN
instancepublic CreditCard creditCard()
public NetworkProducer networkProducer()
Copyright © 2020. All rights reserved.