Uses of Interface
io.spring.initializr.generator.project.ProjectDescription
Packages that use 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
Methods in io.spring.initializr.generator.condition with parameters of type ProjectDescriptionModifier 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
Classes in io.spring.initializr.generator.project that implement ProjectDescriptionMethods in io.spring.initializr.generator.project that return ProjectDescriptionModifier 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.Methods in io.spring.initializr.generator.project with parameters of type ProjectDescriptionModifier 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.Constructors in io.spring.initializr.generator.project with parameters of type ProjectDescriptionModifierConstructorDescriptionProjectDescriptionDiff
(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
Methods in io.spring.initializr.generator.spring.build with parameters of type ProjectDescriptionModifier 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) Constructors in io.spring.initializr.generator.spring.build with parameters of type ProjectDescriptionModifierConstructorDescriptionDependencyManagementBuildCustomizer
(ProjectDescription description, InitializrMetadata metadata) SimpleBuildCustomizer
(ProjectDescription description) -
Uses of ProjectDescription in io.spring.initializr.generator.spring.build.gradle
Methods in io.spring.initializr.generator.spring.build.gradle with parameters of type ProjectDescriptionModifier 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) Constructors in io.spring.initializr.generator.spring.build.gradle with parameters of type ProjectDescriptionModifierConstructorDescriptionSpringBootPluginBuildCustomizer
(ProjectDescription description, DependencyManagementPluginVersionResolver versionResolver) -
Uses of ProjectDescription in io.spring.initializr.generator.spring.build.maven
Constructors in io.spring.initializr.generator.spring.build.maven with parameters of type ProjectDescriptionModifierConstructorDescriptionDefaultMavenBuildCustomizer
(ProjectDescription description, InitializrMetadata metadata) -
Uses of ProjectDescription in io.spring.initializr.generator.spring.code
Constructors in io.spring.initializr.generator.spring.code with parameters of type ProjectDescriptionModifierConstructorDescriptionMainSourceCodeProjectContributor
(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
Constructors in io.spring.initializr.generator.spring.code.groovy with parameters of type ProjectDescriptionModifierConstructorDescriptionGroovyProjectGenerationConfiguration
(ProjectDescription description, IndentingWriterFactory indentingWriterFactory) -
Uses of ProjectDescription in io.spring.initializr.generator.spring.code.java
Constructors in io.spring.initializr.generator.spring.code.java with parameters of type ProjectDescriptionModifierConstructorDescriptionJavaProjectGenerationConfiguration
(ProjectDescription description, IndentingWriterFactory indentingWriterFactory) -
Uses of ProjectDescription in io.spring.initializr.generator.spring.code.kotlin
Methods in io.spring.initializr.generator.spring.code.kotlin with parameters of type ProjectDescriptionModifier and TypeMethodDescriptionInitializrMetadataKotlinVersionResolver.resolveKotlinVersion
(ProjectDescription description) KotlinVersionResolver.resolveKotlinVersion
(ProjectDescription description) Resolves the Kotlin version to use for the generation of the project with the givendescription
.Constructors in io.spring.initializr.generator.spring.code.kotlin with parameters of type ProjectDescriptionModifierConstructorDescriptionKotlinJacksonBuildCustomizer
(InitializrMetadata metadata, ProjectDescription description) KotlinProjectGenerationConfiguration
(ProjectDescription description, IndentingWriterFactory indentingWriterFactory) -
Uses of ProjectDescription in io.spring.initializr.generator.spring.documentation
Methods in io.spring.initializr.generator.spring.documentation with parameters of type ProjectDescriptionModifier and TypeMethodDescriptionHelpDocumentProjectGenerationDefaultContributorsConfiguration.dependenciesHelpDocumentCustomizer
(ProjectDescription description, InitializrMetadata metadata) Constructors in io.spring.initializr.generator.spring.documentation with parameters of type ProjectDescriptionModifierConstructorDescriptionRequestedDependenciesHelpDocumentCustomizer
(ProjectDescription description, InitializrMetadata metadata) -
Uses of ProjectDescription in io.spring.initializr.web.project
Methods in io.spring.initializr.web.project that return ProjectDescriptionModifier 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.Methods in io.spring.initializr.web.project with parameters of type ProjectDescriptionModifier and TypeMethodDescriptionprotected ProjectAssetGenerator<Path>
ProjectGenerationInvoker.getProjectAssetGenerator
(ProjectDescription description) Return theProjectAssetGenerator
to use to generate the project structure for the specifiedProjectDescription
.