public final class GeneratorRegistry extends Object
| Constructor and Description |
|---|
GeneratorRegistry(DDLGenConfiguration config)
Construct an instance of each generator specified in given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getEngineNames()
Returns a collection of the names of current configured database engines.
|
Generator |
getGenerator(String engine)
Returns generator with given engine name or null if there is no such generator.
|
Collection<Generator> |
getGenerators()
Returns a collection of the current configured generators.
|
public GeneratorRegistry(DDLGenConfiguration config)
config - The configuration.public Generator getGenerator(String engine) throws GeneratorException
engine - Name of database engine.GeneratorException - If no generator for engine can be found.public Collection<Generator> getGenerators()
public Collection<String> getEngineNames()
Copyright © 2014. All rights reserved.