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

com.andrewmccall.faker.Config.scala Maven / Gradle / Ivy

The newest version!
package com.andrewmccall.faker

import java.util.Random
import java.util.concurrent.ThreadLocalRandom

import com.andrewmccall.faker.yaml.YamlData

class Config(val locale: String = Faker.defaultLocale, val random: Random = ThreadLocalRandom.current(), val data: Data = new YamlData()) {

  var modules: Map[String, (_) => String] = _

  def loadClasses(): Unit = {
    import org.reflections.Reflections
    val reflections = new Reflections("com.andrewmccall.faker.modules")
    //val annotated = reflections.getTypesAnnotatedWith(classOf[com.andrewmccall.faker.modules.Module])

  }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy