public class DmtdlGen extends TdlModuleGenUtility
commandLine, debug, helpFlag, jars, outdir, parser, searchPaths, srcdir, targets, workspace| Constructor and Description |
|---|
DmtdlGen() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createIfRequired(String outdir)
Creates the specified directory is it doesn't already exist.
|
void |
displayHelp()
Called if the help flag is found anywhere on the commandline.
|
void |
generate(TdlModule module,
ConfigLocation location,
TdlModuleDefinitionManager definitions)
Derived classes should overload this method to perform artifact generation.
|
void |
generate(TdlModuleDefinitionManager definitions)
Derived classes should overload this method to perform artifact generation when no target module
has been specified on the commandline.
|
void |
objectResolutionComplete(TdlModule module,
ConfigLocation location,
TdlModuleDefinitionManager definitions)
Called after object resolution has completely successfully.
|
void |
parsingComplete(TdlModule module,
ConfigLocation location,
TdlModuleDefinitionManager definitions)
Called prior to the object resolution phase so that derived classes can perform intermediate
processing such as generation of internal types.
|
getLocation, initialize, runpublic void parsingComplete(TdlModule module, ConfigLocation location, TdlModuleDefinitionManager definitions) throws ResultException
TdlModuleGeneratorInterfacemodule - the module that was just parsedlocation - the module's locationdefinitions - the current set of definitionsResultException - if there are problemspublic void objectResolutionComplete(TdlModule module, ConfigLocation location, TdlModuleDefinitionManager definitions) throws ResultException
TdlModuleGeneratorInterfacemodule - the module that was just parsedlocation - the module's locationdefinitions - the current set of definitionsResultException - if there are problemspublic void generate(TdlModule module, ConfigLocation location, TdlModuleDefinitionManager definitions) throws IOException
TdlModuleGeneratorInterfacemodule - the module for which generation is being performedlocation - where the module was founddefinitions - the current set of definitionsIOException - if IO problemspublic void displayHelp()
TdlModuleGeneratorInterfaceprotected void createIfRequired(String outdir)
public void generate(TdlModuleDefinitionManager definitions) throws IOException
TdlModuleGeneratorInterfacedefinitions - the current set of definitionsIOException - if IO problemsCopyright © 2023. All rights reserved.