Package io.quarkus.deployment.ide
Enum Class Ide
- All Implemented Interfaces:
Serializable
,Comparable<Ide>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateFileOpeningArgs
(String fileName, String line) static Path
findSourceFile
(String fileName) Finds the location of a source file given the path from the source rootAttempts to launch the default IDE script.void
setMachineSpecificCommand
(String machineSpecificCommand) toString()
static Ide
Returns the enum constant of this class with the specified name.static Ide[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IDEA
-
ECLIPSE
-
VSCODE
-
NETBEANS
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
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
-
setMachineSpecificCommand
-
findSourceFile
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
-