Package io.quarkus.deployment.pkg
Enum Class PackageConfig.JarConfig.JarType
java.lang.Object
java.lang.Enum<PackageConfig.JarConfig.JarType>
io.quarkus.deployment.pkg.PackageConfig.JarConfig.JarType
- All Implemented Interfaces:
Serializable,Comparable<PackageConfig.JarConfig.JarType>,Constable
- Enclosing interface:
PackageConfig.JarConfig
The possible packaging options for JAR output.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe "fast JAR" packaging type.Deprecated.This packaging type is no longer recommended for use.The "mutable JAR" packaging type (for remote development mode).The "Uber-JAR" packaging type. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfromString(String value) Returns theJarTypefor the given string.names()Returns the names for this output type.toString()Returns the name of this output type.Returns the enum constant of this class with the specified name.static PackageConfig.JarConfig.JarType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FAST_JAR
The "fast JAR" packaging type. -
UBER_JAR
The "Uber-JAR" packaging type. -
MUTABLE_JAR
The "mutable JAR" packaging type (for remote development mode). -
LEGACY_JAR
Deprecated.This packaging type is no longer recommended for use.The "legacy JAR" packaging type. This corresponds to the packaging type used in Quarkus before version 1.12.
-
-
Field Details
-
values
-
-
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
-
names
Returns the names for this output type. The first name is the "canonical" name.- Returns:
- the names for this output type
-
toString
Returns the name of this output type.- Overrides:
toStringin classEnum<PackageConfig.JarConfig.JarType>- Returns:
- the name of this output type
-
fromString
Returns theJarTypefor the given string.- Parameters:
value- the string to look up- Returns:
- the
JarTypefor the given string - Throws:
IllegalArgumentException- if the string does not correspond to a valid JAR type
-