Class ExtensionCompatibility

java.lang.Object
io.quarkus.platform.catalog.compatibility.ExtensionCompatibility

public class ExtensionCompatibility extends Object
Extension compatibility info.
  • Constructor Details

    • ExtensionCompatibility

      public ExtensionCompatibility(io.quarkus.registry.catalog.Extension e, Map<io.quarkus.maven.dependency.ArtifactKey,io.quarkus.registry.catalog.Extension> conflictingExtensions)
  • Method Details

    • getExtension

      public io.quarkus.registry.catalog.Extension getExtension()
      Extension this compatibility info belongs to.
      Returns:
      extension this compatibility info belongs to
    • getIncompatibleExtensions

      public Collection<io.quarkus.registry.catalog.Extension> getIncompatibleExtensions()
      All the extensions that are known to be incompatible with the extension returned by getExtension().
      Returns:
      all the extensions known to be incompatible with the extension returned by getExtension()
    • isIncompatibleWith

      public boolean isIncompatibleWith(io.quarkus.maven.dependency.ArtifactKey extensionKey)
      Checks whether an extension with the given key is incompatible with the one return by getExtension().
      Parameters:
      extensionKey - extension key to check for incompatibility
      Returns:
      true, if the extension with the given key is incompatible with one return by getExtension(), otherwise - false