Package io.spring.initializr.web.support
Enum Class Agent.AgentId
- All Implemented Interfaces:
Serializable
,Comparable<Agent.AgentId>
,Constable
- Enclosing class:
- Agent
Defines the various known agents.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA generic browser.CURL.HTTPie.IntelliJ IDEA.JBoss Forge.Jenkins X.Netbeans.NX.The Spring Boot CLI.Spring Tools Suite.Visual Studio Code. -
Method Summary
Modifier and TypeMethodDescriptiongetId()
getName()
static Agent.AgentId
Returns the enum constant of this class with the specified name.static Agent.AgentId[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CURL
CURL. -
HTTPIE
HTTPie. -
JBOSS_FORGE
JBoss Forge. -
SPRING_BOOT_CLI
The Spring Boot CLI. -
STS
Spring Tools Suite. -
INTELLIJ_IDEA
IntelliJ IDEA. -
NETBEANS
Netbeans. -
VSCODE
Visual Studio Code. -
JENKINSX
Jenkins X. -
NX
NX. -
BROWSER
A generic browser.
-
-
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
-
getId
-
getName
-