Package io.quarkus.devtools.commands
Class CreateProjectHelper
java.lang.Object
io.quarkus.devtools.commands.CreateProjectHelper
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddSourceTypeExtensions(Set<String> extensions, SourceType sourceType) static StringcheckClassName(String name) static StringcheckPackageName(String name) static PathcheckProjectRootPath(Path outputPath, String name) static io.quarkus.registry.catalog.ExtensionCatalogcompleteCatalog(io.quarkus.registry.catalog.ExtensionCatalog catalog, Collection<String> extensions, io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver mvn) This method checks whether extensions to be added are specified using complete artifact coordinates, in which case they are resolved and added to the catalog so that their codestarts are picked up by the code generator.static io.quarkus.registry.catalog.ExtensionCatalogcompleteCatalogWithCoords(io.quarkus.registry.catalog.ExtensionCatalog catalog, Collection<io.quarkus.maven.dependency.ArtifactCoords> extensions, io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver mvn) static PathcreateOutputDirectory(String targetDirectory) static voidhandleSpringConfiguration(Map<String, Object> values) static voidsanitizeExtensions(Set<String> extensions)
-
Field Details
-
DEFAULT_GROUP_ID
- See Also:
-
DEFAULT_ARTIFACT_ID
- See Also:
-
DEFAULT_VERSION
- See Also:
-
-
Method Details
-
completeCatalogWithCoords
public static io.quarkus.registry.catalog.ExtensionCatalog completeCatalogWithCoords(io.quarkus.registry.catalog.ExtensionCatalog catalog, Collection<io.quarkus.maven.dependency.ArtifactCoords> extensions, io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver mvn) - Parameters:
catalog- original extension catalogextensions- extra extensions to add to the catalogmvn- Maven artifact resolver- Returns:
- complete extension catalog
- Throws:
io.quarkus.bootstrap.resolver.maven.BootstrapMavenException- in case of a failure to resolve extensions requested by the user
-
completeCatalog
public static io.quarkus.registry.catalog.ExtensionCatalog completeCatalog(io.quarkus.registry.catalog.ExtensionCatalog catalog, Collection<String> extensions, io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver mvn) This method checks whether extensions to be added are specified using complete artifact coordinates, in which case they are resolved and added to the catalog so that their codestarts are picked up by the code generator.- Parameters:
catalog- original extension catalogextensions- extra extensions to add to the catalogmvn- Maven artifact resolver- Returns:
- complete extension catalog
- Throws:
io.quarkus.bootstrap.resolver.maven.BootstrapMavenException- in case of a failure to resolve extensions requested by the user
-
checkClassName
-
checkPackageName
-
checkProjectRootPath
-
createOutputDirectory
-
sanitizeExtensions
-
addSourceTypeExtensions
-
handleSpringConfiguration
-
handleSpringConfiguration
-