public abstract class ModuleAGenUtility extends Object implements ModuleAGeneratorInterface
| Modifier and Type | Field and Description |
|---|---|
protected CommandLine |
commandLine |
protected BooleanVar |
debug |
protected BooleanVar |
helpFlag |
protected StringArrayList |
jars |
protected StringBuffer |
outdir |
protected ModuleAParsingCoordinator |
parser |
protected StringArrayList |
searchPaths |
protected StringArrayList |
srcdir |
protected StringArrayList |
targets |
protected StringBuffer |
workspace |
| Modifier | Constructor and Description |
|---|---|
protected |
ModuleAGenUtility() |
| Modifier and Type | Method and Description |
|---|---|
ConfigLocation |
getLocation(ModuleA module) |
void |
initialize()
Derived classes may overload this method to perform additional initialization
including checking that commandline arguments are appropriate.
|
void |
run(String[] args)
Based on the command line arguments, we hunt for
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisplayHelp, generate, generate, objectResolutionComplete, parsingCompleteprotected ModuleAParsingCoordinator parser
protected CommandLine commandLine
protected BooleanVar helpFlag
protected StringArrayList srcdir
protected StringBuffer workspace
protected StringBuffer outdir
protected StringArrayList targets
protected BooleanVar debug
protected StringArrayList jars
protected StringArrayList searchPaths
public void run(String[] args) throws ResultException, DmcValueException, IOException, DmcRuleExceptionSet, DmcNameClashException, DmcValueExceptionSet
args - the command line argumentsResultException - if there are problemsDmcValueException - if values are incorrectIOException - if IO problemsDmcRuleExceptionSet - if rule failuresDmcNameClashException - if name clashesDmcValueExceptionSet - if multiple value problemspublic void initialize()
throws ResultException
ResultException - is there are problemspublic ConfigLocation getLocation(ModuleA module)
Copyright © 2023. All rights reserved.