public class CommandLineArguments
extends java.lang.Object
RunParmFile
and Paths
objects.
This class is not general purpose. It is specific to mmj2's needs and is
intended to localize everything related to the Command Line Arguments for
easy use by BatchFramework
.
Coincidentally (ha), the "String[] args" parameter for the constructor is the same as the BatchMMJ2 command line parms.
Constructor and Description |
---|
CommandLineArguments(java.lang.String[] args)
Construct using "String[] args" parameters then load
Paths ,
RunParmFile , displayMMJ2FailPopupWindow and testOption. |
Modifier and Type | Method and Description |
---|---|
boolean |
getDisplayMMJ2FailPopupWindow()
Returns the
displayMMJ2FailPopupWindow value; |
Paths |
getPaths()
Returns the
Paths object. |
RunParmFile |
getRunParmFile()
Returns the
RunParmFile object. |
public CommandLineArguments(java.lang.String[] args) throws java.io.IOException, MMJException
Paths
,
RunParmFile
, displayMMJ2FailPopupWindow and testOption.
args:
args
- Array of String. runParmFileName, displayMMJ2FailPopupWindow,
mmj2Path, metamathPath, svcPath, testOption.java.io.IOException
- if an error occurredMMJException
- if errors found.public Paths getPaths()
Paths
object.Paths
object.public RunParmFile getRunParmFile()
RunParmFile
object.RunParmFile
object.public boolean getDisplayMMJ2FailPopupWindow()
displayMMJ2FailPopupWindow
value;displayMMJ2FailPopupWindow
value;