public class GeneratorKt
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_GENERATOR_PACKAGE |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Class<?> |
findGeneratorClass(java.lang.String generatorType) |
static Generator |
lookupGenerator(com.google.gson.JsonObject generatorJson)
Looks up the generator class in the configured generator packages. By default it will look for generators in
au.com.dius.pact.model.generators package, but this can be extended by adding a comma separated list to the
pact.generators.packages system property. The generator class name needs to be Generator.
|
public static Generator lookupGenerator(com.google.gson.JsonObject generatorJson)
Looks up the generator class in the configured generator packages. By default it will look for generators in au.com.dius.pact.model.generators package, but this can be extended by adding a comma separated list to the pact.generators.packages system property. The generator class name needs to be Generator.
public static java.lang.Class<?> findGeneratorClass(java.lang.String generatorType)