edu.umd.cs.findbugs

Class LaunchAppropriateUI



  • public class LaunchAppropriateUI
    extends Object
    Class to launch the appropriate textUI or GUI. This class is the Main-Class in the findbugs.jar manifest, and is responsible for running an appropriate main() method.
    Author:
    Bill Pugh, David Hovemeyer
    • Field Detail

      • TEXTUI

        public static final int TEXTUI
        UI code for the text (command line) UI.
        See Also:
        Constant Field Values
      • GUI1

        public static final int GUI1
        UI code for the old Swing GUI. This is deprecated now.
        See Also:
        Constant Field Values
      • SHOW_HELP

        public static final int SHOW_HELP
        UI code for displaying command line help.
        See Also:
        Constant Field Values
      • SHOW_VERSION

        public static final int SHOW_VERSION
        UI code for displaying command line version information.
        See Also:
        Constant Field Values
    • Constructor Detail

      • LaunchAppropriateUI

        public LaunchAppropriateUI(String[] args)
        Constructor.
        Parameters:
        args - command line arguments
    • Method Detail

      • launch

        public void launch()
                    throws Exception
        Launch the appropriate UI.
        Throws:
        Exception
      • main

        public static void main(String[] args)
                         throws Exception
        main() method. This is where execution of FindBugs (any UI) starts.
        Parameters:
        args - command line arguments
        Throws:
        Exception

Copyright © 2003–2015. All rights reserved.