Enum Ide

    • Enum Constant Detail

      • IDEA

        public static final Ide IDEA
      • ECLIPSE

        public static final Ide ECLIPSE
      • VSCODE

        public static final Ide VSCODE
      • NETBEANS

        public static final Ide NETBEANS
    • Method Detail

      • values

        public static Ide[] 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 (Ide c : Ide.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Ide valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getEffectiveCommand

        public String getEffectiveCommand()
        Attempts to launch the default IDE script. If it succeeds, then that command is used (as the command is on the $PATH), otherwise the full path of the command (determined earlier in the process by looking at the running processes) is used.
      • setMachineSpecificCommand

        public void setMachineSpecificCommand​(String machineSpecificCommand)