class CodeGeneratorParameters
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
commandLine
The command line that was used to execute.
|
private java.lang.String |
configFile
The qfsm file
|
private java.lang.String |
configTemplate
Generate only template for configuration.
|
private boolean |
force
Force, override output files.
|
private java.lang.String |
qfsmFile
The configuration file
|
private boolean |
usage
Show usage.
|
| Constructor and Description |
|---|
CodeGeneratorParameters(java.lang.String[] args,
java.lang.String commandLine)
Create the object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommandLine() |
java.lang.String |
getConfigFile() |
java.lang.String |
getConfigTemplate() |
java.lang.String |
getQfsmFile() |
boolean |
isForce() |
boolean |
isUsage() |
private java.lang.String[] |
preprocessParameters(java.lang.String[] args)
Preprocess multi value parameters, split to parts delimited by "=".
|
static void |
showUsage()
Write usage to the standard output.
|
private final java.lang.String commandLine
private boolean usage
private boolean force
private java.lang.String configTemplate
private java.lang.String configFile
private java.lang.String qfsmFile
public CodeGeneratorParameters(java.lang.String[] args,
java.lang.String commandLine)
throws QfsmException
args - the parameters to parsecommandLine - the command line that was used to executeQfsmException - if the parameters are invalidprivate final java.lang.String[] preprocessParameters(java.lang.String[] args)
args - the input argumentspublic static void showUsage()
public boolean isUsage()
public boolean isForce()
public java.lang.String getConfigTemplate()
public java.lang.String getConfigFile()
public java.lang.String getQfsmFile()
public java.lang.String getCommandLine()
Copyright 2013 Michal Turek, AnotherFSM.