Package io.quarkus.bootstrap.model
Class PlatformImportsImpl
java.lang.Object
io.quarkus.bootstrap.model.PlatformImportsImpl
- All Implemented Interfaces:
PlatformImports,Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlatformDescriptor(String groupId, String artifactId, String classifier, String type, String version) voidaddPlatformProperties(String groupId, String artifactId, String classifier, String type, String version, Path propsPath) All the Quarkus platform BOMs imported by an application.In case Quarkus platform member BOM imports were misaligned this method will return a detailed information about what was found to be in conflict.Quarkus platform properties aggregated from all the platform an application is based on.Quarkus platform release information.booleanChecks whether the platform member BOM imports belong to the same platform release.static booleanvoidsetPlatformProperties(Map<String, String> platformProps)
-
Field Details
-
PROPERTY_PREFIX
- See Also:
-
PLATFORM_KEY_STREAM_SEPARATOR
public static final char PLATFORM_KEY_STREAM_SEPARATOR- See Also:
-
STREAM_VERSION_SEPARATOR
public static final char STREAM_VERSION_SEPARATOR- See Also:
-
-
Constructor Details
-
PlatformImportsImpl
public PlatformImportsImpl()
-
-
Method Details
-
isPlatformReleaseInfo
-
getPlatformReleaseInfo
Description copied from interface:PlatformImportsQuarkus platform release information.- Specified by:
getPlatformReleaseInfoin interfacePlatformImports- Returns:
- platform release information
-
getImportedPlatformBoms
Description copied from interface:PlatformImportsAll the Quarkus platform BOMs imported by an application.- Specified by:
getImportedPlatformBomsin interfacePlatformImports- Returns:
- all the Quarkus platform BOMs imported by an application
-
addPlatformDescriptor
-
addPlatformProperties
public void addPlatformProperties(String groupId, String artifactId, String classifier, String type, String version, Path propsPath) throws AppModelResolverException - Throws:
AppModelResolverException
-
setPlatformProperties
-
getPlatformProperties
Description copied from interface:PlatformImportsQuarkus platform properties aggregated from all the platform an application is based on.- Specified by:
getPlatformPropertiesin interfacePlatformImports- Returns:
- aggregated platform properties
-
getMisalignmentReport
Description copied from interface:PlatformImportsIn case Quarkus platform member BOM imports were misaligned this method will return a detailed information about what was found to be in conflict.- Specified by:
getMisalignmentReportin interfacePlatformImports- Returns:
- platform member BOM misalignment report or null, in case no conflict was detected
-
isAligned
public boolean isAligned()Description copied from interface:PlatformImportsChecks whether the platform member BOM imports belong to the same platform release.- Specified by:
isAlignedin interfacePlatformImports- Returns:
- true if imported platform member BOMs belong to the same platform release, otherwise - false
-