Class CommandLineOptions


  • public class CommandLineOptions
    extends java.lang.Object
    • Field Detail

      • _checkedarithmetic

        private boolean _checkedarithmetic
      • _classpath

        private java.lang.String _classpath
      • _destDir

        private java.lang.String _destDir
      • _help

        private boolean _help
      • _nowarn

        private boolean _nowarn
      • _sourcepath

        private java.lang.String _sourcepath
      • _verbose

        private boolean _verbose
      • _version

        private boolean _version
      • _srcFiles

        private java.util.List<java.lang.String> _srcFiles
      • _maxerrs

        private int _maxerrs
      • _maxwarns

        private int _maxwarns
    • Constructor Detail

      • CommandLineOptions

        public CommandLineOptions()
    • Method Detail

      • isCheckedArithmetic

        public boolean isCheckedArithmetic()
        Returns:
        true if '-ca' or '-checkedArithmetic' was specified on the command line
      • getClasspath

        public java.lang.String getClasspath()
      • getDestDir

        public java.lang.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 java.lang.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 java.util.List<java.lang.String> getSourceFiles()
      • setSourceFiles

        public void setSourceFiles​(java.util.List<java.lang.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.