| Package | Description |
|---|---|
| io.spring.initializr.generator.condition |
Project generation
Condition annotations and supporting classes. |
| io.spring.initializr.generator.project |
Project generation support classes.
|
| io.spring.initializr.generator.spring.build |
Build contributors.
|
| io.spring.initializr.generator.spring.build.gradle |
Gradle build contributors.
|
| io.spring.initializr.generator.spring.build.maven |
Maven build contributors.
|
| io.spring.initializr.generator.spring.code |
Code contributors.
|
| io.spring.initializr.generator.spring.code.groovy |
Groovy code contributors.
|
| io.spring.initializr.generator.spring.code.java |
Java code contributors.
|
| io.spring.initializr.generator.spring.code.kotlin |
Kotlin code contributors.
|
| io.spring.initializr.generator.spring.documentation |
Documentation contributors.
|
| io.spring.initializr.web.project |
Project generation handling.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
ProjectGenerationCondition.matches(ProjectDescription description,
org.springframework.context.annotation.ConditionContext context,
org.springframework.core.type.AnnotatedTypeMetadata metadata) |
| Modifier and Type | Class and Description |
|---|---|
class |
MutableProjectDescription
A mutable implementation of
ProjectDescription. |
| Modifier and Type | Method and Description |
|---|---|
default 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.
|
ProjectDescription |
ProjectDescriptionDiff.getOriginal()
Return the original
ProjectDescription that is being tracked. |
| Modifier and Type | Method and Description |
|---|---|
ProjectDescriptionDiff |
DefaultProjectDescriptionDiffFactory.create(ProjectDescription description) |
ProjectDescriptionDiff |
ProjectDescriptionDiffFactory.create(ProjectDescription description)
Create a
ProjectDescriptionDiff for the specified
ProjectDescription. |
Path |
ProjectDirectoryFactory.createProjectDirectory(ProjectDescription description)
Create a dedicated project directory for the specified
ProjectDescription. |
<T> T |
ProjectGenerator.generate(ProjectDescription description,
ProjectAssetGenerator<T> projectAssetGenerator)
Generate project assets using the specified
ProjectAssetGenerator for the
specified ProjectDescription. |
protected List<String> |
ProjectGenerator.getCandidateProjectGenerationConfigurations(ProjectDescription description)
Return the
ProjectGenerationConfiguration class names that should be
considered. |
void |
ProjectDescriptionDiff.ifApplicationNameChanged(ProjectDescription current,
BiConsumer<String,String> consumer)
Calls the specified consumer if the
applicationName 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 the
artifactId 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 the
baseDirectory 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 the
buildSystem 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 the
description 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 the
groupId 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 the
language 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 the
name 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 the
packageName 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 the
packaging 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 the
platformVersion 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 the
version is different on the original
source project description than the specified project description. |
| Constructor and Description |
|---|
ProjectDescriptionDiff(ProjectDescription original)
Create a
ProjectDescriptionDiff that uses a copy of the specified
description as its source. |
| Modifier and Type | Method and Description |
|---|---|
DependencyManagementBuildCustomizer |
BuildProjectGenerationConfiguration.dependencyManagementBuildCustomizer(ProjectDescription description,
InitializrMetadata metadata) |
DefaultMavenBuildCustomizer |
BuildProjectGenerationConfiguration.initializrMetadataMavenBuildCustomizer(ProjectDescription description,
InitializrMetadata metadata) |
SimpleBuildCustomizer |
BuildProjectGenerationConfiguration.projectDescriptionBuildCustomizer(ProjectDescription description) |
io.spring.initializr.generator.spring.build.SpringBootVersionRepositoriesBuildCustomizer |
BuildProjectGenerationConfiguration.repositoriesBuilderCustomizer(ProjectDescription description) |
| Constructor and Description |
|---|
DependencyManagementBuildCustomizer(ProjectDescription description,
InitializrMetadata metadata) |
SimpleBuildCustomizer(ProjectDescription description) |
| Modifier and Type | Method and Description |
|---|---|
BuildCustomizer<GradleBuild> |
GradleProjectGenerationConfiguration.defaultGradleBuildCustomizer(ProjectDescription description) |
protected boolean |
OnGradleVersionCondition.matches(ProjectDescription description,
org.springframework.context.annotation.ConditionContext context,
org.springframework.core.type.AnnotatedTypeMetadata metadata) |
String |
DependencyManagementPluginVersionResolver.resolveDependencyManagementPluginVersion(ProjectDescription description)
Resolves the dependency management plugin version to use for the generation of the
project with the given
description. |
String |
InitializrDependencyManagementPluginVersionResolver.resolveDependencyManagementPluginVersion(ProjectDescription description) |
| Constructor and Description |
|---|
SpringBootPluginBuildCustomizer(ProjectDescription description,
DependencyManagementPluginVersionResolver versionResolver) |
| Constructor and Description |
|---|
DefaultMavenBuildCustomizer(ProjectDescription description,
InitializrMetadata metadata) |
| Constructor and Description |
|---|
MainSourceCodeProjectContributor(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) |
| Constructor and Description |
|---|
GroovyProjectGenerationConfiguration(ProjectDescription description,
IndentingWriterFactory indentingWriterFactory) |
| Constructor and Description |
|---|
JavaProjectGenerationConfiguration(ProjectDescription description,
IndentingWriterFactory indentingWriterFactory) |
| Modifier and Type | Method and Description |
|---|---|
String |
InitializrMetadataKotlinVersionResolver.resolveKotlinVersion(ProjectDescription description) |
String |
KotlinVersionResolver.resolveKotlinVersion(ProjectDescription description)
Resolves the Kotlin version to use for the generation of the project with the given
description. |
| Constructor and Description |
|---|
KotlinJacksonBuildCustomizer(InitializrMetadata metadata,
ProjectDescription description) |
KotlinProjectGenerationConfiguration(ProjectDescription description,
IndentingWriterFactory indentingWriterFactory) |
| Modifier and Type | Method and Description |
|---|---|
RequestedDependenciesHelpDocumentCustomizer |
HelpDocumentProjectGenerationDefaultContributorsConfiguration.dependenciesHelpDocumentCustomizer(ProjectDescription description,
InitializrMetadata metadata) |
| Constructor and Description |
|---|
RequestedDependenciesHelpDocumentCustomizer(ProjectDescription description,
InitializrMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
ProjectDescription |
DefaultProjectRequestToDescriptionConverter.convert(ProjectRequest request,
InitializrMetadata metadata) |
ProjectDescription |
ProjectRequestToDescriptionConverter.convert(R request,
InitializrMetadata metadata)
Validate and convert the specified
ProjectRequest to a
ProjectDescription used as the source of project generation. |
ProjectDescription |
ProjectGenerationResult.getProjectDescription()
Return the
ProjectDescription that was used to generate the project. |
| Modifier and Type | Method and Description |
|---|---|
protected ProjectAssetGenerator<Path> |
ProjectGenerationInvoker.getProjectAssetGenerator(ProjectDescription description)
Return the
ProjectAssetGenerator to use to generate the project structure
for the specified ProjectDescription. |
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.