Enum ApplicationDisplayMode

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CONSOLE
      The invoking application runs on the command line.
      GUI
      The invoking application runs with a Swing GUI.
      UNATTENDED
      The invoking application does not take user input from a GUI or on the command line.
    • Enum Constant Detail

      • GUI

        public static final ApplicationDisplayMode GUI
        The invoking application runs with a Swing GUI. Displaying a proxy dialog is acceptable.
      • CONSOLE

        public static final ApplicationDisplayMode CONSOLE
        The invoking application runs on the command line. Asking for proxy information on the command line is acceptable.
      • UNATTENDED

        public static final ApplicationDisplayMode UNATTENDED
        The invoking application does not take user input from a GUI or on the command line. Proxy information cannot be supplied by the user.
    • Method Detail

      • values

        public static ApplicationDisplayMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ApplicationDisplayMode c : ApplicationDisplayMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ApplicationDisplayMode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getIntValue

        public int getIntValue()
        Convert to an int value.
        Returns:
        the int value
      • getFromIntValue

        public static ApplicationDisplayMode getFromIntValue​(int value)
        Convert int value to constant.
        Parameters:
        value - the int value
        Returns:
        the constant
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<ApplicationDisplayMode>