public class ModuleAConfigLoader extends ModuleAGenUtility
commandLine, debug, helpFlag, jars, outdir, parser, searchPaths, srcdir, targets, workspace| Constructor and Description |
|---|
ModuleAConfigLoader() |
| Modifier and Type | Method and Description |
|---|---|
ModuleADefinitionManager |
definitionmanager() |
void |
displayHelp()
Called if the help flag is found anywhere on the commandline.
|
void |
generate(ModuleA module,
ConfigLocation location,
ModuleADefinitionManager definitions)
Derived classes should overload this method to perform artifact generation.
|
void |
generate(ModuleADefinitionManager definitions)
Derived classes should overload this method to perform artifact generation when no target module
has been specified on the commandline.
|
void |
load(String configDir) |
void |
objectResolutionComplete(ModuleA module,
ConfigLocation location,
ModuleADefinitionManager definitions)
Called after object resolution has completely successfully.
|
void |
parsingComplete(ModuleA module,
ConfigLocation location,
ModuleADefinitionManager 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 load(String configDir) throws ResultException, DmcValueException, IOException, DmcRuleExceptionSet, DmcNameClashException, DmcValueExceptionSet
public ModuleADefinitionManager definitionmanager()
public void parsingComplete(ModuleA module, ConfigLocation location, ModuleADefinitionManager definitions) throws ResultException
ModuleAGeneratorInterfacemodule - the module that was just parsedlocation - the module's locationdefinitions - the current set of definitionsResultException - if there are problemspublic void objectResolutionComplete(ModuleA module, ConfigLocation location, ModuleADefinitionManager definitions) throws ResultException
ModuleAGeneratorInterfacemodule - the module that was just parsedlocation - the module's locationdefinitions - the current set of definitionsResultException - if there are problemspublic void generate(ModuleA module, ConfigLocation location, ModuleADefinitionManager definitions) throws IOException
ModuleAGeneratorInterfacemodule - the module for which generation is being performedlocation - where the module was founddefinitions - the current set of definitionsIOException - if IO problemspublic void generate(ModuleADefinitionManager definitions) throws IOException
ModuleAGeneratorInterfacedefinitions - the current set of definitionsIOException - if IO problemspublic void displayHelp()
ModuleAGeneratorInterfaceCopyright © 2023. All rights reserved.