Package io.quarkus.platform.tools
Class ToolsUtils
- java.lang.Object
-
- io.quarkus.platform.tools.ToolsUtils
-
public class ToolsUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ToolsUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringdotJoin(String... parts)static StringgetGradlePluginVersion(Properties props)static StringgetGradleWrapperVersion(Properties props)static StringgetMavenPluginArtifactId(Properties props)static StringgetMavenPluginGroupId(Properties props)static StringgetMavenPluginVersion(Properties props)static StringgetMavenWrapperVersion(Properties props)static StringgetPluginKey(Properties props)static StringgetProperty(String name)static StringgetProperty(String name, String defaultValue)static StringgetProposedMavenVersion(Properties props)static StringgetQuarkusCoreVersion(Properties props)static booleanisNullOrEmpty(String arg)static ExtensionCatalogmergePlatforms(List<io.quarkus.maven.dependency.ArtifactCoords> platforms, io.quarkus.bootstrap.resolver.AppModelResolver artifactResolver)static ExtensionCatalogmergePlatforms(List<io.quarkus.maven.dependency.ArtifactCoords> platforms, io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver artifactResolver)static PropertiesreadQuarkusProperties(ExtensionCatalog catalog)static StringrequireProperty(String name)static StringrequireProperty(Properties props, String name)static StringrequireQuarkusCoreVersion(Properties props)static ExtensionCatalogresolvePlatformDescriptorDirectly(String bomGroupId, String bomArtifactId, String bomVersion, io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver artifactResolver, io.quarkus.devtools.messagewriter.MessageWriter log)static Map<String,String>stringToMap(String str, String entrySeparator, String keyValueSeparator)
-
-
-
Method Detail
-
stringToMap
public static Map<String,String> stringToMap(String str, String entrySeparator, String keyValueSeparator)
-
isNullOrEmpty
public static boolean isNullOrEmpty(String arg)
-
resolvePlatformDescriptorDirectly
public static ExtensionCatalog resolvePlatformDescriptorDirectly(String bomGroupId, String bomArtifactId, String bomVersion, io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver artifactResolver, io.quarkus.devtools.messagewriter.MessageWriter log)
-
mergePlatforms
public static ExtensionCatalog mergePlatforms(List<io.quarkus.maven.dependency.ArtifactCoords> platforms, io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver artifactResolver)
-
mergePlatforms
public static ExtensionCatalog mergePlatforms(List<io.quarkus.maven.dependency.ArtifactCoords> platforms, io.quarkus.bootstrap.resolver.AppModelResolver artifactResolver)
-
readQuarkusProperties
public static Properties readQuarkusProperties(ExtensionCatalog catalog)
-
requireProperty
public static String requireProperty(Properties props, String name)
-
getMavenPluginArtifactId
public static String getMavenPluginArtifactId(Properties props)
-
getMavenPluginGroupId
public static String getMavenPluginGroupId(Properties props)
-
getQuarkusCoreVersion
public static String getQuarkusCoreVersion(Properties props)
-
requireQuarkusCoreVersion
public static String requireQuarkusCoreVersion(Properties props)
-
getMavenPluginVersion
public static String getMavenPluginVersion(Properties props)
-
getGradlePluginVersion
public static String getGradlePluginVersion(Properties props)
-
getPluginKey
public static String getPluginKey(Properties props)
-
getProposedMavenVersion
public static String getProposedMavenVersion(Properties props)
-
getMavenWrapperVersion
public static String getMavenWrapperVersion(Properties props)
-
getGradleWrapperVersion
public static String getGradleWrapperVersion(Properties props)
-
-