Package gw.lang.gosuc.cli
Class CommandLineOptions
- java.lang.Object
-
- gw.lang.gosuc.cli.CommandLineOptions
-
public class CommandLineOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description CommandLineOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClasspath()StringgetDestDir()intgetMaxErrs()intgetMaxWarns()List<String>getSourceFiles()StringgetSourcepath()booleanisCheckedArithmetic()booleanisHelp()booleanisNoWarn()booleanisVerbose()booleanisVersion()voidsetSourceFiles(List<String> srcFiles)
-
-
-
Method Detail
-
isCheckedArithmetic
public boolean isCheckedArithmetic()
- Returns:
- true if '-ca' or '-checkedArithmetic' was specified on the command line
-
getClasspath
public String getClasspath()
-
getDestDir
public String getDestDir()
-
isHelp
public boolean isHelp()
- Returns:
- true if '-help' was specified on the command line
-
isNoWarn
public boolean isNoWarn()
- Returns:
- true if '-nowarn' was specified on the command line
-
getSourcepath
public String getSourcepath()
-
isVerbose
public boolean isVerbose()
- Returns:
- true if '-verbose' was specified on the command line
-
isVersion
public boolean isVersion()
- Returns:
- true if '-version' was specified on the command line
-
getMaxErrs
public int getMaxErrs()
- Returns:
- maximum error threshold. Defaults to 1,000.
-
getMaxWarns
public int getMaxWarns()
- Returns:
- maximum warning threshold. Defaults to Integer.MAX_VALUE.
-
-