Uses of Interface
io.spring.initializr.generator.project.ProjectDescription
Package
Description
Project generation
Condition
annotations and supporting classes.Project generation support classes.
Build contributors.
Gradle build contributors.
Maven build contributors.
Code contributors.
Groovy code contributors.
Java code contributors.
Kotlin code contributors.
Documentation contributors.
Project generation handling.
-
Uses of ProjectDescription in io.spring.initializr.generator.condition
Modifier and TypeMethodDescriptionprotected abstract boolean
ProjectGenerationCondition.matches
(ProjectDescription description, org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) -
Uses of ProjectDescription in io.spring.initializr.generator.project
Modifier and TypeMethodDescriptiondefault ProjectDescription
ProjectDescription.createCopy()
Create a full copy of this description so that any additional changes made on this instance are not reflected on the returned copy.ProjectDescriptionDiff.getOriginal()
Return the originalProjectDescription
that is being tracked.Modifier and TypeMethodDescriptionDefaultProjectDescriptionDiffFactory.create
(ProjectDescription description) ProjectDescriptionDiffFactory.create
(ProjectDescription description) Create aProjectDescriptionDiff
for the specifiedProjectDescription
.ProjectDirectoryFactory.createProjectDirectory
(ProjectDescription description) Create a dedicated project directory for the specifiedProjectDescription
.<T> T
ProjectGenerator.generate
(ProjectDescription description, ProjectAssetGenerator<T> projectAssetGenerator) Generate project assets using the specifiedProjectAssetGenerator
for the specifiedProjectDescription
.ProjectGenerator.getCandidateProjectGenerationConfigurations
(ProjectDescription description) Return theProjectGenerationConfiguration
class names that should be considered.void
ProjectDescriptionDiff.ifApplicationNameChanged
(ProjectDescription current, BiConsumer<String, String> consumer) Calls the specified consumer if theapplicationName
is different on the original source project description than the specified project description.void
ProjectDescriptionDiff.ifArtifactIdChanged
(ProjectDescription current, BiConsumer<String, String> consumer) Calls the specified consumer if theartifactId
is different on the original source project description than the specified project description.void
ProjectDescriptionDiff.ifBaseDirectoryChanged
(ProjectDescription current, BiConsumer<String, String> consumer) Calls the specified consumer if thebaseDirectory
is different on the original source project description than the specified project description.void
ProjectDescriptionDiff.ifBuildSystemChanged
(ProjectDescription current, BiConsumer<BuildSystem, BuildSystem> consumer) Calls the specified consumer if thebuildSystem
is different on the original source project description than the specified project description.void
ProjectDescriptionDiff.ifDescriptionChanged
(ProjectDescription current, BiConsumer<String, String> consumer) Calls the specified consumer if thedescription
is different on the original source project description than the specified project description.void
ProjectDescriptionDiff.ifGroupIdChanged
(ProjectDescription current, BiConsumer<String, String> consumer) Calls the specified consumer if thegroupId
is different on the original source project description than the specified project description.void
ProjectDescriptionDiff.ifLanguageChanged
(ProjectDescription current, BiConsumer<Language, Language> consumer) Calls the specified consumer if thelanguage
is different on the original source project description than the specified project description.void
ProjectDescriptionDiff.ifNameChanged
(ProjectDescription current, BiConsumer<String, String> consumer) Calls the specified consumer if thename
is different on the original source project description than the specified project description.void
ProjectDescriptionDiff.ifPackageNameChanged
(ProjectDescription current, BiConsumer<String, String> consumer) Calls the specified consumer if thepackageName
is different on the original source project description than the specified project description.void
ProjectDescriptionDiff.ifPackagingChanged
(ProjectDescription current, BiConsumer<Packaging, Packaging> consumer) Calls the specified consumer if thepackaging
is different on the original source project description than the specified project description.void
ProjectDescriptionDiff.ifPlatformVersionChanged
(ProjectDescription current, BiConsumer<Version, Version> consumer) Calls the specified consumer if theplatformVersion
is different on the original source project description than the specified project description.void
ProjectDescriptionDiff.ifVersionChanged
(ProjectDescription current, BiConsumer<String, String> consumer) Calls the specified consumer if theversion
is different on the original source project description than the specified project description.ModifierConstructorDescriptionProjectDescriptionDiff
(ProjectDescription original) Create aProjectDescriptionDiff
that uses a copy of the specified description as its source. -
Uses of ProjectDescription in io.spring.initializr.generator.spring.build
Modifier and TypeMethodDescriptionBuildProjectGenerationConfiguration.dependencyManagementBuildCustomizer
(ProjectDescription description, InitializrMetadata metadata) BuildProjectGenerationConfiguration.initializrMetadataMavenBuildCustomizer
(ProjectDescription description, InitializrMetadata metadata) BuildProjectGenerationConfiguration.projectDescriptionBuildCustomizer
(ProjectDescription description) io.spring.initializr.generator.spring.build.SpringBootVersionRepositoriesBuildCustomizer
BuildProjectGenerationConfiguration.repositoriesBuilderCustomizer
(ProjectDescription description) ModifierConstructorDescriptionDependencyManagementBuildCustomizer
(ProjectDescription description, InitializrMetadata metadata) SimpleBuildCustomizer
(ProjectDescription description) -
Uses of ProjectDescription in io.spring.initializr.generator.spring.build.gradle
Modifier and TypeMethodDescriptionGradleProjectGenerationConfiguration.defaultGradleBuildCustomizer
(ProjectDescription description) protected boolean
OnGradleVersionCondition.matches
(ProjectDescription description, org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) DependencyManagementPluginVersionResolver.resolveDependencyManagementPluginVersion
(ProjectDescription description) Resolves the dependency management plugin version to use for the generation of the project with the givendescription
.InitializrDependencyManagementPluginVersionResolver.resolveDependencyManagementPluginVersion
(ProjectDescription description) ModifierConstructorDescriptionSpringBootPluginBuildCustomizer
(ProjectDescription description, DependencyManagementPluginVersionResolver versionResolver) -
Uses of ProjectDescription in io.spring.initializr.generator.spring.build.maven
ModifierConstructorDescriptionDefaultMavenBuildCustomizer
(ProjectDescription description, InitializrMetadata metadata) -
Uses of ProjectDescription in io.spring.initializr.generator.spring.code
ModifierConstructorDescriptionMainSourceCodeProjectContributor
(ProjectDescription description, Supplier<S> sourceFactory, SourceCodeWriter<S> sourceWriter, org.springframework.beans.factory.ObjectProvider<MainApplicationTypeCustomizer<?>> mainTypeCustomizers, org.springframework.beans.factory.ObjectProvider<MainCompilationUnitCustomizer<?, ?>> mainCompilationUnitCustomizers, org.springframework.beans.factory.ObjectProvider<MainSourceCodeCustomizer<?, ?, ?>> mainSourceCodeCustomizers) TestSourceCodeProjectContributor
(ProjectDescription description, Supplier<S> sourceFactory, SourceCodeWriter<S> sourceWriter, org.springframework.beans.factory.ObjectProvider<TestApplicationTypeCustomizer<?>> testApplicationTypeCustomizers, org.springframework.beans.factory.ObjectProvider<TestSourceCodeCustomizer<?, ?, ?>> testSourceCodeCustomizers) -
Uses of ProjectDescription in io.spring.initializr.generator.spring.code.groovy
ModifierConstructorDescriptionGroovyProjectGenerationConfiguration
(ProjectDescription description, IndentingWriterFactory indentingWriterFactory) -
Uses of ProjectDescription in io.spring.initializr.generator.spring.code.java
ModifierConstructorDescriptionJavaProjectGenerationConfiguration
(ProjectDescription description, IndentingWriterFactory indentingWriterFactory) -
Uses of ProjectDescription in io.spring.initializr.generator.spring.code.kotlin
Modifier and TypeMethodDescriptionInitializrMetadataKotlinVersionResolver.resolveKotlinVersion
(ProjectDescription description) KotlinVersionResolver.resolveKotlinVersion
(ProjectDescription description) Resolves the Kotlin version to use for the generation of the project with the givendescription
.ModifierConstructorDescriptionKotlinJacksonBuildCustomizer
(InitializrMetadata metadata, ProjectDescription description) KotlinProjectGenerationConfiguration
(ProjectDescription description, IndentingWriterFactory indentingWriterFactory) -
Uses of ProjectDescription in io.spring.initializr.generator.spring.documentation
Modifier and TypeMethodDescriptionHelpDocumentProjectGenerationDefaultContributorsConfiguration.dependenciesHelpDocumentCustomizer
(ProjectDescription description, InitializrMetadata metadata) ModifierConstructorDescriptionRequestedDependenciesHelpDocumentCustomizer
(ProjectDescription description, InitializrMetadata metadata) -
Uses of ProjectDescription in io.spring.initializr.web.project
Modifier and TypeMethodDescriptionDefaultProjectRequestToDescriptionConverter.convert
(ProjectRequest request, InitializrMetadata metadata) ProjectRequestToDescriptionConverter.convert
(R request, InitializrMetadata metadata) Validate and convert the specifiedProjectRequest
to aProjectDescription
used as the source of project generation.ProjectGenerationResult.getProjectDescription()
Return theProjectDescription
that was used to generate the project.Modifier and TypeMethodDescriptionprotected ProjectAssetGenerator<Path>
ProjectGenerationInvoker.getProjectAssetGenerator
(ProjectDescription description) Return theProjectAssetGenerator
to use to generate the project structure for the specifiedProjectDescription
.