Package gw.lang.gosuc.cli
Class CommandLineOptions
java.lang.Object
gw.lang.gosuc.cli.CommandLineOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintbooleanbooleanisHelp()booleanisNoWarn()booleanbooleanvoidsetSourceFiles(List<String> srcFiles)
-
Constructor Details
-
CommandLineOptions
public CommandLineOptions()
-
-
Method Details
-
isCheckedArithmetic
public boolean isCheckedArithmetic()- Returns:
- true if '-ca' or '-checkedArithmetic' was specified on the command line
-
getClasspath
-
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
-
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
-
getSourceFiles
-
setSourceFiles
-
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.
-