Enum Class Ide

java.lang.Object
java.lang.Enum<Ide>
io.quarkus.deployment.ide.Ide
All Implemented Interfaces:
Serializable, Comparable<Ide>, Constable

public enum Ide extends Enum<Ide>
  • Enum Constant Details

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

    • values

      public static Ide[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Ide valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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.
    • createFileOpeningArgs

      public List<String> createFileOpeningArgs(String fileName, String line)
    • setMachineSpecificCommand

      public void setMachineSpecificCommand(String machineSpecificCommand)
    • findSourceFile

      public static Path findSourceFile(String fileName)
      Finds the location of a source file given the path from the source root
      Parameters:
      fileName - The file name
      Returns:
      The path or null if it could not be found
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Ide>