Uses of Class
net.datafaker.service.FakerContext
Packages that use FakerContext
Package
Description
-
Uses of FakerContext in net.datafaker
Constructors in net.datafaker with parameters of type FakerContextModifierConstructorDescriptionFaker(FakeValuesService fakeValuesService, FakerContext context) Faker(FakeValuesService fakeValuesService, FakerContext context, Predicate<Class<?>> whiteListPredicate) -
Uses of FakerContext in net.datafaker.providers.base
Methods in net.datafaker.providers.base that return FakerContextConstructors in net.datafaker.providers.base with parameters of type FakerContextModifierConstructorDescriptionBaseFaker(FakeValuesService fakeValuesService, FakerContext context) BaseFaker(FakeValuesService fakeValuesService, FakerContext context, Predicate<Class<?>> whiteListPredicate) -
Uses of FakerContext in net.datafaker.providers.entertainment
Constructors in net.datafaker.providers.entertainment with parameters of type FakerContextModifierConstructorDescriptionEntertainmentFaker(FakeValuesService fakeValuesService, FakerContext context) -
Uses of FakerContext in net.datafaker.providers.food
Constructors in net.datafaker.providers.food with parameters of type FakerContextModifierConstructorDescriptionFoodFaker(FakeValuesService fakeValuesService, FakerContext context) FoodFaker(FakeValuesService fakeValuesService, FakerContext context, Predicate<Class<?>> whiteListPredicate) -
Uses of FakerContext in net.datafaker.providers.healthcare
Constructors in net.datafaker.providers.healthcare with parameters of type FakerContextModifierConstructorDescriptionHealthcareFaker(FakeValuesService fakeValuesService, FakerContext context) HealthcareFaker(FakeValuesService fakeValuesService, FakerContext context, Predicate<Class<?>> whiteListPredicate) -
Uses of FakerContext in net.datafaker.providers.sport
Constructors in net.datafaker.providers.sport with parameters of type FakerContextModifierConstructorDescriptionSportFaker(FakeValuesService fakeValuesService, FakerContext context) SportFaker(FakeValuesService fakeValuesService, FakerContext context, Predicate<Class<?>> whiteListPredicate) -
Uses of FakerContext in net.datafaker.providers.videogame
Constructors in net.datafaker.providers.videogame with parameters of type FakerContextModifierConstructorDescriptionVideoGameFaker(FakeValuesService fakeValuesService, FakerContext context) VideoGameFaker(FakeValuesService fakeValuesService, FakerContext context, Predicate<Class<?>> whiteListPredicate) -
Uses of FakerContext in net.datafaker.service
Methods in net.datafaker.service with parameters of type FakerContextModifier and TypeMethodDescriptionFakeValuesService.bothify(String string, FakerContext context) Applies both aFakeValuesService.numerify(String, FakerContext)and aFakeValuesService.letterify(String, FakerContext)over the incoming string.FakeValuesService.bothify(String input, FakerContext context, boolean isUpper) Applies both aFakeValuesService.numerify(String, FakerContext)and aFakeValuesService.letterify(String, FakerContext, boolean)over the incoming string.FakeValuesService.examplify(String example, FakerContext context) Generates a String by example.FakeValuesService.expression(String expression, BaseFaker faker, FakerContext context) Resolves an expression using the current faker.FakeValuesService.fetch(String key, FakerContext context) Fetch a random value from an array item specified by the key<T> TFakeValuesService.fetchObject(String key, FakerContext context) Return the object selected by the key from yaml file.FakeValuesService.fetchString(String key, FakerContext context) Same asFakeValuesService.fetch(String, FakerContext)but casts the result to a StringFakeValuesService.fileExpression(Path path, BaseFaker faker, FakerContext context) Resolves an expression in file using the current faker.FakeValuesService.letterify(String letterString, FakerContext context) Returns a string with the '?'FakeValuesService.letterify(String letterString, FakerContext context, boolean isUpper) Returns a string with the '?'FakeValuesService.numerify(String numberString, FakerContext context) Returns a string with the '#' characters in the parameter replaced with random digits between 0-9 inclusive or random digits in the range from 1-9 when Ø (not zero) is used.FakeValuesService.regexify(String regex, FakerContext context) Generates a String that matches the given regular expression.FakeValuesService.resolve(String key, Object current, BaseFaker root, FakerContext context) Resolves a key to a method on an object or throws an exception.FakeValuesService.resolve(String key, Object current, ProviderRegistration root, Supplier<String> exceptionMessage, FakerContext context) Resolves a key to a method on an object or throws an exception with specified message.FakeValuesService.resolve(String key, AbstractProvider<?> provider, FakerContext context) protected StringFakeValuesService.resolveExpression(String expression, Object current, ProviderRegistration root, FakerContext context) processes expression in the style #{X.y} using the current objects as the 'current' location within the yml file (or theBaseFakerobject hierarchy as it were).FakeValuesService.safeFetch(String key, FakerContext context, String defaultIfNull) Safely fetches a key.FakeValuesService.templatify(String letterString, char char2replace, FakerContext context, String... options) Returns a string with the char2replace characters in the parameter replaced with random alphabetic characters from optionsFakeValuesService.templatify(String letterString, Map<Character, String[]> optionsMap, FakerContext context) Returns a string with the optionsMap.getKeys() characters in the parameter replaced with random alphabetic characters from corresponding optionsMap.values()