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

public static enum PackageConfig.JarConfig.JarType extends Enum<PackageConfig.JarConfig.JarType>
The possible packaging options for JAR output.
  • Enum Constant Details

    • FAST_JAR

      public static final PackageConfig.JarConfig.JarType FAST_JAR
      The "fast JAR" packaging type.
    • AOT_JAR

      public static final PackageConfig.JarConfig.JarType AOT_JAR
      The AOT-optimized packaging type.

      Similar to fast-jar in the approach but taking into account the limitations of AOT class loading (i.e. all class loading delegated to JDK class loader).

    • UBER_JAR

      public static final PackageConfig.JarConfig.JarType UBER_JAR
      The "Uber-JAR" packaging type.
    • MUTABLE_JAR

      public static final PackageConfig.JarConfig.JarType MUTABLE_JAR
      The "mutable JAR" packaging type (for remote development mode).
    • LEGACY_JAR

      @Deprecated public static final PackageConfig.JarConfig.JarType 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

  • Method Details

    • values

      public static PackageConfig.JarConfig.JarType[] 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 PackageConfig.JarConfig.JarType 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
    • names

      public List<String> names()
      Returns the names for this output type. The first name is the "canonical" name.
      Returns:
      the names for this output type
    • usesFastJarLayout

      public boolean usesFastJarLayout()
    • toString

      public String toString()
      Returns the name of this output type.
      Overrides:
      toString in class Enum<PackageConfig.JarConfig.JarType>
      Returns:
      the name of this output type
    • fromString

      public static PackageConfig.JarConfig.JarType fromString(String value)
      Returns the JarType for the given string.
      Parameters:
      value - the string to look up
      Returns:
      the JarType for the given string
      Throws:
      IllegalArgumentException - if the string does not correspond to a valid JAR type