Class ExtensionCompatibility
- java.lang.Object
-
- io.quarkus.platform.catalog.compatibility.ExtensionCompatibility
-
public class ExtensionCompatibility extends Object
Extension compatibility info.
-
-
Constructor Summary
Constructors Constructor Description ExtensionCompatibility(Extension e, Map<io.quarkus.maven.dependency.ArtifactKey,Extension> conflictingExtensions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensiongetExtension()Extension this compatibility info belongs to.Collection<Extension>getIncompatibleExtensions()All the extensions that are known to be incompatible with the extension returned bygetExtension().booleanisIncompatibleWith(io.quarkus.maven.dependency.ArtifactKey extensionKey)Checks whether an extension with the given key is incompatible with the one return bygetExtension().
-
-
-
Method Detail
-
getExtension
public Extension getExtension()
Extension this compatibility info belongs to.- Returns:
- extension this compatibility info belongs to
-
getIncompatibleExtensions
public Collection<Extension> getIncompatibleExtensions()
All the extensions that are known to be incompatible with the extension returned bygetExtension().- 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 bygetExtension().- 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
-
-