Class CommandLineOptions

java.lang.Object
gw.lang.gosuc.cli.CommandLineOptions

public class CommandLineOptions extends Object
  • Field Details

    • _checkedarithmetic

      private boolean _checkedarithmetic
    • _classpath

      private String _classpath
    • _destDir

      private String _destDir
    • _help

      private boolean _help
    • _nowarn

      private boolean _nowarn
    • _sourcepath

      private String _sourcepath
    • _verbose

      private boolean _verbose
    • _version

      private boolean _version
    • _srcFiles

      private List<String> _srcFiles
    • _maxerrs

      private int _maxerrs
    • _maxwarns

      private int _maxwarns
  • Constructor Details

    • CommandLineOptions

      public CommandLineOptions()
  • Method Details

    • 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
    • getSourceFiles

      public List<String> getSourceFiles()
    • setSourceFiles

      public void setSourceFiles(List<String> srcFiles)
    • 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.