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.GeneratedResourceBuildItem.getClassData()
    use GeneratedResourceBuildItem.getData() instead
    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.RemovedResourceBuildItem(GACT, Set<String>)
    In favor of RemovedResourceBuildItem(ArtifactKey, Set)
    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.deployment.pkg.PackageConfig.vineflower
    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.WebJarUtil
    Use WebJarBuildItem and WebJarResultsBuildItem instead.
  • 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.pkg.builditem.ProcessInheritIODisabled
    use ProcessInheritIODisabledBuildItem instead
    io.quarkus.deployment.util.GlobUtil
    in favor of GlobUtil
    io.quarkus.deployment.util.WebJarUtil
    Use WebJarBuildItem and WebJarResultsBuildItem instead.
  • Deprecated Fields
    Field
    Description
    io.quarkus.deployment.Capability.METRICS
     
    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.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.PackageConfig.FAST_JAR
    Use PackageConfig.BuiltInType.FAST_JAR instead
    io.quarkus.deployment.pkg.PackageConfig.JAR
    Use PackageConfig.BuiltInType.JAR instead
    io.quarkus.deployment.pkg.PackageConfig.LEGACY
    use 'legacy-jar' instead
    io.quarkus.deployment.pkg.PackageConfig.LEGACY_JAR
    Use PackageConfig.BuiltInType.LEGACY_JAR instead
    io.quarkus.deployment.pkg.PackageConfig.MUTABLE_JAR
    Use PackageConfig.BuiltInType.MUTABLE_JAR instead
    io.quarkus.deployment.pkg.PackageConfig.NATIVE
    Use PackageConfig.BuiltInType.NATIVE instead
    io.quarkus.deployment.pkg.PackageConfig.NATIVE_SOURCES
    Use PackageConfig.BuiltInType.NATIVE_SOURCES instead
    io.quarkus.deployment.pkg.PackageConfig.UBER_JAR
    Use PackageConfig.BuiltInType.UBER_JAR instead
    io.quarkus.deployment.pkg.PackageConfig.vineflower
  • 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.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.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.Capabilities.isCapabilityPresent(String)
    io.quarkus.deployment.CodeGenProvider.inputExtension()
    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

    io.quarkus.deployment.util.WebJarUtil.copyResourcesForDevOrTest(LiveReloadBuildItem, CurateOutcomeBuildItem, LaunchModeBuildItem, ResolvedDependency, String, boolean)
  • 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.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.RemovedResourceBuildItem(GACT, Set<String>)
    In favor of RemovedResourceBuildItem(ArtifactKey, Set)
    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.BuiltInType.LEGACY
    use PackageConfig.BuiltInType.LEGACY_JAR instead

Copyright © 2020–2024. All rights reserved.