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.
Configuration 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 booleanProjectGenerationCondition.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 ProjectDescriptionProjectDescription.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 originalProjectDescriptionthat 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 aProjectDescriptionDifffor the specifiedProjectDescription.ProjectDirectoryFactory.createProjectDirectory(ProjectDescription description) Create a dedicated project directory for the specifiedProjectDescription.<T> TProjectGenerator.generate(ProjectDescription description, ProjectAssetGenerator<T> projectAssetGenerator) Generate project assets using the specifiedProjectAssetGeneratorfor the specifiedProjectDescription.ProjectGenerator.getCandidateProjectGenerationConfigurations(ProjectDescription description) Return theProjectGenerationConfigurationclass names that should be considered.voidProjectDescriptionDiff.ifApplicationNameChanged(ProjectDescription current, BiConsumer<String, String> consumer) Calls the specified consumer if theapplicationNameis different on the original source project description than the specified project description.voidProjectDescriptionDiff.ifArtifactIdChanged(ProjectDescription current, BiConsumer<String, String> consumer) Calls the specified consumer if theartifactIdis different on the original source project description than the specified project description.voidProjectDescriptionDiff.ifBaseDirectoryChanged(ProjectDescription current, BiConsumer<String, String> consumer) Calls the specified consumer if thebaseDirectoryis different on the original source project description than the specified project description.voidProjectDescriptionDiff.ifBuildSystemChanged(ProjectDescription current, BiConsumer<BuildSystem, BuildSystem> consumer) Calls the specified consumer if thebuildSystemis different on the original source project description than the specified project description.voidProjectDescriptionDiff.ifDescriptionChanged(ProjectDescription current, BiConsumer<String, String> consumer) Calls the specified consumer if thedescriptionis different on the original source project description than the specified project description.voidProjectDescriptionDiff.ifGroupIdChanged(ProjectDescription current, BiConsumer<String, String> consumer) Calls the specified consumer if thegroupIdis different on the original source project description than the specified project description.voidProjectDescriptionDiff.ifLanguageChanged(ProjectDescription current, BiConsumer<Language, Language> consumer) Calls the specified consumer if thelanguageis different on the original source project description than the specified project description.voidProjectDescriptionDiff.ifNameChanged(ProjectDescription current, BiConsumer<String, String> consumer) Calls the specified consumer if thenameis different on the original source project description than the specified project description.voidProjectDescriptionDiff.ifPackageNameChanged(ProjectDescription current, BiConsumer<String, String> consumer) Calls the specified consumer if thepackageNameis different on the original source project description than the specified project description.voidProjectDescriptionDiff.ifPackagingChanged(ProjectDescription current, BiConsumer<Packaging, Packaging> consumer) Calls the specified consumer if thepackagingis different on the original source project description than the specified project description.voidProjectDescriptionDiff.ifPlatformVersionChanged(ProjectDescription current, BiConsumer<Version, Version> consumer) Calls the specified consumer if theplatformVersionis different on the original source project description than the specified project description.voidProjectDescriptionDiff.ifVersionChanged(ProjectDescription current, BiConsumer<String, String> consumer) Calls the specified consumer if theversionis 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 aProjectDescriptionDiffthat 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 TypeMethodDescriptionio.spring.initializr.generator.spring.build.DefaultStarterBuildCustomizerBuildProjectGenerationConfiguration.defaultStarterContributor(InitializrMetadata metadata, ProjectDescription projectDescription) BuildProjectGenerationConfiguration.dependencyManagementBuildCustomizer(ProjectDescription description, InitializrMetadata metadata) BuildProjectGenerationConfiguration.initializrMetadataMavenBuildCustomizer(ProjectDescription description, InitializrMetadata metadata) BuildProjectGenerationConfiguration.projectDescriptionBuildCustomizer(ProjectDescription description) io.spring.initializr.generator.spring.build.SpringBootVersionRepositoriesBuildCustomizerBuildProjectGenerationConfiguration.repositoriesBuilderCustomizer(ProjectDescription description) BuildProjectGenerationConfiguration.warPackagingWebStarterBuildCustomizer(InitializrMetadata metadata, ProjectDescription projectDescription) Constructors in io.spring.initializr.generator.spring.build with parameters of type ProjectDescriptionModifierConstructorDescriptionDependencyManagementBuildCustomizer(ProjectDescription description, InitializrMetadata metadata) SimpleBuildCustomizer(ProjectDescription description) WarPackagingWebStarterBuildCustomizer(InitializrMetadata metadata, ProjectDescription projectDescription) -
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 booleanOnGradleVersionCondition.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) KotlinJpaGradleBuildCustomizer(InitializrMetadata metadata, KotlinProjectSettings settings, ProjectDescription projectDescription) KotlinJpaMavenBuildCustomizer(InitializrMetadata metadata, ProjectDescription projectDescription) KotlinProjectGenerationConfiguration(ProjectDescription description, IndentingWriterFactory indentingWriterFactory) -
Uses of ProjectDescription in io.spring.initializr.generator.spring.configuration
Constructors in io.spring.initializr.generator.spring.configuration with parameters of type ProjectDescriptionModifierConstructorDescriptionWebFoldersContributor(Build build, InitializrMetadata metadata, ProjectDescription projectDescription) -
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 specifiedProjectRequestto aProjectDescriptionused as the source of project generation.ProjectGenerationResult.getProjectDescription()Return theProjectDescriptionthat 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 theProjectAssetGeneratorto use to generate the project structure for the specifiedProjectDescription.