Class RandomGeneratorRegistry
java.lang.Object
de.rpgframework.random.RandomGeneratorRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RandomGeneratorfindGenerator(GeneratorType type, List<Classification<?>> requires, List<ClassificationType> hints) static List<RandomGenerator> findGenerators(GeneratorType type, List<Classification<?>> requires, List<ClassificationType> hints) static Objectgenerate(GeneratorType type, List<Classification<?>> requires, List<Classification<?>> hints, Map<GeneratorVariable, Integer> variables) static List<RandomGenerator> getGenerators(GeneratorType type) static Collection<GeneratorType> static voidstatic voidregister(RandomGenerator gen)
-
Constructor Details
-
RandomGeneratorRegistry
public RandomGeneratorRegistry()
-
-
Method Details
-
initialize
public static void initialize() -
register
-
findGenerator
public static RandomGenerator findGenerator(GeneratorType type, List<Classification<?>> requires, List<ClassificationType> hints) -
findGenerators
public static List<RandomGenerator> findGenerators(GeneratorType type, List<Classification<?>> requires, List<ClassificationType> hints) -
generate
public static Object generate(GeneratorType type, List<Classification<?>> requires, List<Classification<?>> hints, Map<GeneratorVariable, Integer> variables) -
getSupportedTypes
-
getGenerators
-