Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Fields
  • Methods
  • Constructors
  • Enum Constants
  • Terminally Deprecated Elements
    Element
    Description
    io.quarkus.deployment.builditem.DockerStatusBuildItem.isDockerAvailable()
    Use ContainerRuntimeStatusBuildItem.isContainerRuntimeAvailable() instead
    io.quarkus.deployment.builditem.GeneratedResourceBuildItem.getClassData()
    use GeneratedResourceBuildItem.getData() instead
    io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem(boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, String...)
    io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem(boolean, boolean, boolean, boolean, String...)
    Use ReflectiveClassBuildItem.builder(Class...) or ReflectiveClassBuildItem.builder(String...) instead.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem(boolean, boolean, boolean, Class<?>...)
    Use ReflectiveClassBuildItem.builder(Class...) or ReflectiveClassBuildItem.builder(String...) instead.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem(boolean, boolean, boolean, String...)
    Use ReflectiveClassBuildItem.builder(Class...) or ReflectiveClassBuildItem.builder(String...) instead.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem(boolean, boolean, Class<?>...)
    Use ReflectiveClassBuildItem.builder(Class...) or ReflectiveClassBuildItem.builder(String...) instead.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem(boolean, boolean, String...)
    Use ReflectiveClassBuildItem.builder(Class...) or ReflectiveClassBuildItem.builder(String...) instead.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem.Builder.finalFieldsWritable(boolean)
    As of GraalVM 21.2 finalFieldsWritable is no longer needed when registering fields for reflection. This will be removed in a future version of Quarkus.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem.Builder()
    use ReflectiveHierarchyBuildItem.builder(Type), ReflectiveHierarchyBuildItem.builder(String) or ReflectiveHierarchyBuildItem.builder(DotName) instead
    io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem.Builder.className(String)
    use ReflectiveHierarchyBuildItem.builder(String) instead
    io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem.Builder.className(DotName)
    use ReflectiveHierarchyBuildItem.builder(DotName) instead
    io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem.Builder.type(Type)
    use ReflectiveHierarchyBuildItem.builder(Type) instead
    io.quarkus.deployment.builditem.RemovedResourceBuildItem(GACT, Set<String>)
    In favor of RemovedResourceBuildItem(ArtifactKey, Set)
    io.quarkus.deployment.builditem.SetClassPathSystemPropBuildItem
    This was initially added to support Truffle, but it is no longer needed so the build item should not be used
    io.quarkus.deployment.dev.testing.TestConfig.classClonePattern
    io.quarkus.deployment.pkg.builditem.BuildSystemTargetBuildItem(Path, String, boolean, Properties)
    in favor of BuildSystemTargetBuildItem(Path, String, String, boolean, Properties)
    io.quarkus.deployment.pkg.builditem.CompiledJavaVersionBuildItem.JavaVersion.isExactlyJava11()
    io.quarkus.deployment.pkg.builditem.CompiledJavaVersionBuildItem.JavaVersion.isJava11OrHigher()
    io.quarkus.deployment.pkg.builditem.CompiledJavaVersionBuildItem.JavaVersion.isJava17OrHigher()
    io.quarkus.deployment.pkg.builditem.OutputTargetBuildItem(Path, String, boolean, Properties, Optional<Set<ArtifactKey>>)
    in favor of OutputTargetBuildItem(Path, String, String, boolean, Properties, Optional)
    io.quarkus.deployment.pkg.builditem.PackageTypeBuildItem
    Ignored.
    io.quarkus.deployment.util.AsmUtil.getDescriptor(MethodInfo, Function<String, String>)
    use MethodInfo.descriptor(Function)
    io.quarkus.deployment.util.AsmUtil.getDescriptor(Type, Function<String, String>)
    use Type.descriptor(Function)
    io.quarkus.deployment.util.AsmUtil.getSignature(MethodInfo, Function<String, String>)
    use MethodInfo.genericSignature(Function)
    io.quarkus.deployment.util.AsmUtil.getSignature(Type, Function<String, String>)
    use GenericSignature.forType(Type, Function, StringBuilder)
    io.quarkus.deployment.util.AsmUtil.getSignatureIfRequired(MethodInfo)
    use GenericSignature.genericSignatureIfRequired()
    io.quarkus.deployment.util.AsmUtil.getSignatureIfRequired(MethodInfo, Function<String, String>)
    use GenericSignature.genericSignatureIfRequired(Function)
  • Deprecated Classes
    Class
    Description
    io.quarkus.deployment.builditem.DevServicesConfigResultBuildItem
    use DevServicesResultBuildItem
    io.quarkus.deployment.builditem.DevServicesNativeConfigResultBuildItem
    io.quarkus.deployment.builditem.EnableAllSecurityServicesBuildItem
    --enable-all-security-services was removed in GraalVM 21.1 https://github.com/oracle/graal/pull/3258
    io.quarkus.deployment.builditem.nativeimage.NativeImageAllowIncompleteClasspathBuildItem
    io.quarkus.deployment.builditem.SetClassPathSystemPropBuildItem
    This was initially added to support Truffle, but it is no longer needed so the build item should not be used
    io.quarkus.deployment.pkg.builditem.LegacyJarRequiredBuildItem
    io.quarkus.deployment.pkg.builditem.PackageTypeBuildItem
    Ignored.
    io.quarkus.deployment.pkg.builditem.ProcessInheritIODisabled
    use ProcessInheritIODisabledBuildItem instead
    io.quarkus.deployment.pkg.builditem.UberJarRequiredBuildItem
    io.quarkus.deployment.pkg.steps.NativeBuild
    In the future, it will be possible to request multiple output types.
    io.quarkus.deployment.pkg.steps.NativeOrNativeSourcesBuild
    In the future, it will be possible to request multiple output types.
    io.quarkus.deployment.pkg.steps.NativeSourcesBuild
    In the future, it will be possible to request multiple output types.
    io.quarkus.deployment.util.GlobUtil
    in favor of GlobUtil
  • Deprecated Fields
    Field
    Description
    io.quarkus.deployment.builditem.GeneratedResourceBuildItem.excludeFromDevCL
    If you want to serve static resources use io.quarkus.vertx.http.deployment.spi.GeneratedStaticResourceBuildItem instead.
    io.quarkus.deployment.Capability.METRICS
    Use more precise capability Capability.SMALLRYE_METRICS
    io.quarkus.deployment.Capability.SMALLRYE_REACTIVE_MESSAGING
    io.quarkus.deployment.Capability.TIKA
    Tika has been moved to the Quarkiverse
    io.quarkus.deployment.dev.testing.TestConfig.basicConsole
    io.quarkus.deployment.dev.testing.TestConfig.classClonePattern
    io.quarkus.deployment.dev.testing.TestConfig.console
    io.quarkus.deployment.dev.testing.TestConfig.disableColor
    io.quarkus.deployment.dev.testing.TestConfig.disableConsoleInput
    io.quarkus.deployment.JniProcessor.JniConfig.enable
    JNI is always enabled starting from GraalVM 19.3.1.
    io.quarkus.deployment.pkg.steps.GraalVM.Version.CURRENT
    Use io.quarkus.runtime.graal.GraalVM.Version.CURRENT instead.
    io.quarkus.deployment.pkg.steps.GraalVM.Version.MINIMUM
    Use io.quarkus.runtime.graal.GraalVM.Version.MINIMUM instead.
    io.quarkus.deployment.pkg.steps.GraalVM.Version.MINIMUM_SUPPORTED
    Use io.quarkus.runtime.graal.GraalVM.Version.MINIMUM_SUPPORTED instead.
  • Deprecated Methods
    Method
    Description
    io.quarkus.deployment.ApplicationArchive.getArchiveLocation()
    in favor of ApplicationArchive.getResolvedPaths()
    io.quarkus.deployment.ApplicationArchive.getArtifactKey()
    in favor of ApplicationArchive.getKey()
    io.quarkus.deployment.ApplicationArchive.getPaths()
    in favor of ApplicationArchive.getResolvedPaths()
    io.quarkus.deployment.ApplicationArchive.getRootDirs()
    in favor of ApplicationArchive.getRootDirectories() Returns paths representing the archive root directories. Note that every path in this collection is guaranteed to be a directory. If the actual application archive appears to be a JAR, this collection will include a path to the root of the mounted FileSystem created from the JAR.
    io.quarkus.deployment.ApplicationArchiveImpl.getArchiveLocation()
    io.quarkus.deployment.ApplicationArchiveImpl.getArtifactKey()
    io.quarkus.deployment.ApplicationArchiveImpl.getPaths()
    io.quarkus.deployment.ApplicationArchiveImpl.getRootDirs()
    io.quarkus.deployment.builditem.AdditionalApplicationArchiveBuildItem.getPaths()
    in favor of AdditionalApplicationArchiveBuildItem.getResolvedPaths()
    io.quarkus.deployment.builditem.ArchiveRootBuildItem.Builder.setArchiveLocation(Path)
    io.quarkus.deployment.builditem.ArchiveRootBuildItem.getArchiveLocation()
    in favor of ArchiveRootBuildItem.getResolvedPaths()
    io.quarkus.deployment.builditem.ArchiveRootBuildItem.getArchiveRoot()
    in favor of ArchiveRootBuildItem.getRootDirectories()
    io.quarkus.deployment.builditem.ArchiveRootBuildItem.getPaths()
    in favor of ArchiveRootBuildItem.getResolvedPaths()
    io.quarkus.deployment.builditem.ArchiveRootBuildItem.getRootDirs()
    in favor of ArchiveRootBuildItem.getRootDirectories()
    io.quarkus.deployment.builditem.BytecodeTransformerBuildItem.Builder.setEager(boolean)
    io.quarkus.deployment.builditem.BytecodeTransformerBuildItem.isEager()
    io.quarkus.deployment.builditem.DevServicesAdditionalConfigBuildItem.getCallbackWhenEnabled()
    Don't call this method, use DevServicesAdditionalConfigBuildItem.getConfigProvider() instead.
    io.quarkus.deployment.builditem.DevServicesAdditionalConfigBuildItem.getKey()
    Don't call this method, use DevServicesAdditionalConfigBuildItem.getConfigProvider() instead.
    io.quarkus.deployment.builditem.DevServicesAdditionalConfigBuildItem.getTriggeringKey()
    Don't call this method, use DevServicesAdditionalConfigBuildItem.getConfigProvider() instead.
    io.quarkus.deployment.builditem.DevServicesAdditionalConfigBuildItem.getTriggeringKeys()
    Don't call this method, use DevServicesAdditionalConfigBuildItem.getConfigProvider() instead.
    io.quarkus.deployment.builditem.DevServicesAdditionalConfigBuildItem.getValue()
    Don't call this method, use DevServicesAdditionalConfigBuildItem.getConfigProvider() instead.
    io.quarkus.deployment.builditem.DockerStatusBuildItem.isDockerAvailable()
    Use ContainerRuntimeStatusBuildItem.isContainerRuntimeAvailable() instead
    io.quarkus.deployment.builditem.GeneratedResourceBuildItem.getClassData()
    use GeneratedResourceBuildItem.getData() instead
    io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem.areFinalFieldsWritable()
    As of GraalVM 21.2 finalFieldsWritable is no longer needed when registering fields for reflection. This will be removed in a future verion of Quarkus.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem.Builder.finalFieldsWritable(boolean)
    As of GraalVM 21.2 finalFieldsWritable is no longer needed when registering fields for reflection. This will be removed in a future version of Quarkus.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem.weakClass(boolean, boolean, boolean, String...)
    Use ReflectiveClassBuildItem.builder(Class...) or ReflectiveClassBuildItem.builder(String...) instead.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem.Builder.className(String)
    use ReflectiveHierarchyBuildItem.builder(String) instead
    io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem.Builder.className(DotName)
    use ReflectiveHierarchyBuildItem.builder(DotName) instead
    io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem.Builder.type(Type)
    use ReflectiveHierarchyBuildItem.builder(Type) instead
    io.quarkus.deployment.builditem.TransformedClassesBuildItem.TransformedClass.isEager()
    io.quarkus.deployment.Capabilities.isCapabilityPresent(String)
    io.quarkus.deployment.CodeGenProvider.inputExtension()
    io.quarkus.deployment.pkg.builditem.CompiledJavaVersionBuildItem.JavaVersion.isExactlyJava11()
    io.quarkus.deployment.pkg.builditem.CompiledJavaVersionBuildItem.JavaVersion.isJava11OrHigher()
    io.quarkus.deployment.pkg.builditem.CompiledJavaVersionBuildItem.JavaVersion.isJava17OrHigher()
    io.quarkus.deployment.pkg.NativeConfig.cleanupServer()
    Since GraalVM 20.2.0 the native image server has become an experimental feature and is disabled by default.
    io.quarkus.deployment.pkg.NativeConfig.enableAllSecurityServices()
    --enable-all-security-services was removed in GraalVM 21.1 https://github.com/oracle/graal/pull/3258
    io.quarkus.deployment.pkg.NativeConfig.enableJni()
    JNI is always enabled starting from GraalVM 19.3.1.
    io.quarkus.deployment.pkg.NativeConfig.enableServer()
    This used to be the default prior to GraalVM 20.2.0 and this configuration item was used to disable it as it was not stable. Since GraalVM 20.2.0 the native image server has become an experimental feature.
    io.quarkus.deployment.pkg.NativeConfig.enableVmInspection()
    Use quarkus.native.monitoring instead.
    io.quarkus.deployment.pkg.NativeConfig.fullStackTraces()
    GraalVM 23.1+ will always build with full stack traces.
    io.quarkus.deployment.pkg.NativeConfig.inlineBeforeAnalysis()
    inlineBeforeAnalysis is always enabled starting from GraalVM 21.3.
    io.quarkus.deployment.pkg.NativeConfig.userCountry()
    Use the global quarkus.default-locale.
    io.quarkus.deployment.pkg.NativeConfig.userLanguage()
    Use the global quarkus.default-locale.
    io.quarkus.deployment.recording.RecorderContext.classProxy(String)
    This construct should not be needed in most use cases since directly loading deployment/application classes at processing time in build steps is safe. However, there are use cases where this method comes in handy, such as referring to classes that were generated in previous build steps using GeneratedClassBuildItem.
    io.quarkus.deployment.util.ArtifactInfoUtil.groupIdAndArtifactId(Class<?>)
    use ArtifactInfoUtil.groupIdAndArtifactId(Class, CurateOutcomeBuildItem)
    io.quarkus.deployment.util.AsmUtil.getDescriptor(MethodInfo, Function<String, String>)
    use MethodInfo.descriptor(Function)
    io.quarkus.deployment.util.AsmUtil.getDescriptor(Type, Function<String, String>)
    use Type.descriptor(Function)
    io.quarkus.deployment.util.AsmUtil.getSignature(MethodInfo, Function<String, String>)
    use MethodInfo.genericSignature(Function)
    io.quarkus.deployment.util.AsmUtil.getSignature(Type, Function<String, String>)
    use GenericSignature.forType(Type, Function, StringBuilder)
    io.quarkus.deployment.util.AsmUtil.getSignatureIfRequired(MethodInfo)
    use GenericSignature.genericSignatureIfRequired()
    io.quarkus.deployment.util.AsmUtil.getSignatureIfRequired(MethodInfo, Function<String, String>)
    use GenericSignature.genericSignatureIfRequired(Function)
    io.quarkus.deployment.util.GlobUtil.toRegexPattern(String)
    in favor of GlobUtil.toRegexPattern(String) Transforms the given glob to a regular expression suitable for passing to Pattern.compile(String).

    Glob syntax

    Construct Description
    * Matches a (possibly empty) sequence of characters that does not contain slash (/)
    ** Matches a (possibly empty) sequence of characters that may contain slash (/)
    ? Matches one character, but not slash
    [abc] Matches one character given in the bracket, but not slash
    [a-z] Matches one character from the range given in the bracket, but not slash
    [!abc] Matches one character not named in the bracket; does not match slash
    [a-z] Matches one character outside the range given in the bracket; does not match slash
    {one,two,three} Matches any of the alternating tokens separated by comma; the tokens may contain wildcards, nested alternations and ranges
    \ The escape character

  • Deprecated Constructors
    Constructor
    Description
    io.quarkus.deployment.builditem.ArchiveRootBuildItem(Path, Path)
    io.quarkus.deployment.builditem.CapabilityBuildItem(String)
    in favor of {@link #CapabilityBuildItem(String, String))} that also accepts the provider of the capability to be highlighted in the error messages in case of detected capability conflicts.
    io.quarkus.deployment.builditem.DevServicesAdditionalConfigBuildItem(String, String, String, Runnable)
    Call DevServicesAdditionalConfigBuildItem(DevServicesAdditionalConfigProvider) instead.
    io.quarkus.deployment.builditem.DevServicesAdditionalConfigBuildItem(Collection<String>, String, String, Runnable)
    Call DevServicesAdditionalConfigBuildItem(DevServicesAdditionalConfigProvider) instead.
    io.quarkus.deployment.builditem.JniBuildItem()
    This method was previously used to enable JNI from Quarkus extensions, but JNI is always enabled starting from GraalVM 19.3.1.
    io.quarkus.deployment.builditem.nativeimage.JPMSExportBuildItem(String, String, GraalVM.Version, GraalVM.Version)
    use JPMSExportBuildItem(String, String, GraalVM.Version, GraalVM.Version) instead
    io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem(boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, String...)
    io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem(boolean, boolean, boolean, boolean, String...)
    Use ReflectiveClassBuildItem.builder(Class...) or ReflectiveClassBuildItem.builder(String...) instead.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem(boolean, boolean, boolean, Class<?>...)
    Use ReflectiveClassBuildItem.builder(Class...) or ReflectiveClassBuildItem.builder(String...) instead.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem(boolean, boolean, boolean, String...)
    Use ReflectiveClassBuildItem.builder(Class...) or ReflectiveClassBuildItem.builder(String...) instead.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem(boolean, boolean, Class<?>...)
    Use ReflectiveClassBuildItem.builder(Class...) or ReflectiveClassBuildItem.builder(String...) instead.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem(boolean, boolean, String...)
    Use ReflectiveClassBuildItem.builder(Class...) or ReflectiveClassBuildItem.builder(String...) instead.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem(Type)
    Use the Builder instead.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem(Type, String)
    Use the Builder instead and provide a source for easy debugging.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem(Type, Predicate<DotName>)
    Use the Builder instead and provide a source for easy debugging.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem(Type, Predicate<DotName>, String)
    Use the Builder instead and provide a source for easy debugging.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem(Type, IndexView)
    Use the Builder instead and provide a source for easy debugging.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem(Type, IndexView, String)
    Use the Builder instead and provide a source for easy debugging.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem(Type, IndexView, Predicate<DotName>)
    Use the Builder instead and provide a source for easy debugging.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem(Type, IndexView, Predicate<DotName>, String)
    Use the Builder instead and provide a source for easy debugging.
    io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem.Builder()
    use ReflectiveHierarchyBuildItem.builder(Type), ReflectiveHierarchyBuildItem.builder(String) or ReflectiveHierarchyBuildItem.builder(DotName) instead
    io.quarkus.deployment.builditem.RemovedResourceBuildItem(GACT, Set<String>)
    In favor of RemovedResourceBuildItem(ArtifactKey, Set)
    io.quarkus.deployment.builditem.TransformedClassesBuildItem.TransformedClass(String, byte[], String, boolean)
    io.quarkus.deployment.pkg.builditem.BuildSystemTargetBuildItem(Path, String, boolean, Properties)
    in favor of BuildSystemTargetBuildItem(Path, String, String, boolean, Properties)
    io.quarkus.deployment.pkg.builditem.OutputTargetBuildItem(Path, String, boolean, Properties, Optional<Set<ArtifactKey>>)
    in favor of OutputTargetBuildItem(Path, String, String, boolean, Properties, Optional)
    io.quarkus.runner.bootstrap.AugmentActionImpl(CuratedApplication, List<Consumer<BuildChainBuilder>>)
  • Deprecated Enum Constants
    Enum Constant
    Description
    io.quarkus.deployment.pkg.PackageConfig.JarConfig.JarType.LEGACY_JAR
    This packaging type is no longer recommended for use.

Copyright © 2020–2024. All rights reserved.