Uses of Class
io.spring.initializr.generator.io.IndentingWriter
Packages that use IndentingWriter
Package
Description
Gradle build system.
Maven build system.
Docker Compose support.
Support for writing project assets.
Language abstraction.
-
Uses of IndentingWriter in io.spring.initializr.generator.buildsystem.gradle
Methods in io.spring.initializr.generator.buildsystem.gradle with parameters of type IndentingWriterModifier and TypeMethodDescriptionvoid
GradleSnippet.apply
(IndentingWriter indentingWriter) Apply the snippet using the specifiedIndentingWriter
.protected abstract void
GradleBuildWriter.writeBuildscript
(IndentingWriter writer, GradleBuild build) protected void
GroovyDslGradleBuildWriter.writeBuildscript
(IndentingWriter writer, GradleBuild build) protected void
KotlinDslGradleBuildWriter.writeBuildscript
(IndentingWriter writer, GradleBuild build) protected final <T> void
GradleBuildWriter.writeCollection
(IndentingWriter writer, Collection<T> collection, Function<T, String> converter) protected final <T> void
GradleBuildWriter.writeCollection
(IndentingWriter writer, Collection<T> collection, Function<T, String> itemToStringConverter, Runnable beforeWriting) protected void
GroovyDslGradleBuildWriter.writeConfiguration
(IndentingWriter writer, GradleConfiguration configuration) protected void
KotlinDslGradleBuildWriter.writeConfiguration
(IndentingWriter writer, GradleConfiguration configuration, List<String> customConfigurations) protected abstract void
GradleBuildWriter.writeConfigurations
(IndentingWriter writer, GradleConfigurationContainer configurations) protected void
GroovyDslGradleBuildWriter.writeConfigurations
(IndentingWriter writer, GradleConfigurationContainer configurations) protected void
KotlinDslGradleBuildWriter.writeConfigurations
(IndentingWriter writer, GradleConfigurationContainer configurations) protected abstract void
GradleBuildWriter.writeDependency
(IndentingWriter writer, Dependency dependency) protected void
GroovyDslGradleBuildWriter.writeDependency
(IndentingWriter writer, Dependency dependency) protected void
KotlinDslGradleBuildWriter.writeDependency
(IndentingWriter writer, Dependency dependency) protected abstract void
GradleBuildWriter.writeExtraProperties
(IndentingWriter writer, Map<String, String> allProperties) protected void
GroovyDslGradleBuildWriter.writeExtraProperties
(IndentingWriter writer, Map<String, String> allProperties) protected void
KotlinDslGradleBuildWriter.writeExtraProperties
(IndentingWriter writer, Map<String, String> allProperties) protected void
GradleBuildWriter.writeJavaSourceCompatibility
(IndentingWriter writer, GradleBuildSettings settings) Deprecated, for removal: This API element is subject to removal in a future version.for removal in favor of Gradle toolchainsprotected final <T,
U> void GradleBuildWriter.writeMap
(IndentingWriter writer, Map<T, U> map, BiFunction<T, U, String> converter) protected final <T> void
GradleBuildWriter.writeNestedCollection
(IndentingWriter writer, String name, Collection<T> collection, Function<T, String> itemToStringConverter) protected final <T> void
GradleBuildWriter.writeNestedCollection
(IndentingWriter writer, String name, Collection<T> collection, Function<T, String> converter, Runnable beforeWriting) protected abstract void
GradleBuildWriter.writePlugins
(IndentingWriter writer, GradleBuild build) protected void
GroovyDslGradleBuildWriter.writePlugins
(IndentingWriter writer, GradleBuild build) protected void
KotlinDslGradleBuildWriter.writePlugins
(IndentingWriter writer, GradleBuild build) protected abstract void
GradleBuildWriter.writeProperty
(IndentingWriter writer, String name, String value) protected void
GroovyDslGradleBuildWriter.writeProperty
(IndentingWriter writer, String name, String value) protected void
KotlinDslGradleBuildWriter.writeProperty
(IndentingWriter writer, String name, String value) protected final void
GradleBuildWriter.writeRepositories
(IndentingWriter writer, GradleBuild build) protected final void
GradleBuildWriter.writeTaskCustomization
(IndentingWriter writer, GradleTask task) protected abstract void
GradleBuildWriter.writeTasks
(IndentingWriter writer, GradleTaskContainer tasks) protected void
GroovyDslGradleBuildWriter.writeTasks
(IndentingWriter writer, GradleTaskContainer tasks) protected void
KotlinDslGradleBuildWriter.writeTasks
(IndentingWriter writer, GradleTaskContainer tasks) final void
GradleBuildWriter.writeTo
(IndentingWriter writer, GradleBuild build) Write a build.gradle using the specified writer.final void
GradleSettingsWriter.writeTo
(IndentingWriter writer, GradleBuild build) Write a settings.gradle using the specified writer.Method parameters in io.spring.initializr.generator.buildsystem.gradle with type arguments of type IndentingWriterModifier and TypeMethodDescriptionvoid
GradleSnippetContainer.add
(Consumer<IndentingWriter> writer) Register asnippet
with no import.void
GradleSnippetContainer.add
(Set<String> importedTypes, Consumer<IndentingWriter> writer) Register asnippet
with the specified types to import and writer. -
Uses of IndentingWriter in io.spring.initializr.generator.buildsystem.maven
Methods in io.spring.initializr.generator.buildsystem.maven with parameters of type IndentingWriterModifier and TypeMethodDescriptionvoid
MavenBuildWriter.writeTo
(IndentingWriter writer, MavenBuild build) -
Uses of IndentingWriter in io.spring.initializr.generator.container.docker.compose
Methods in io.spring.initializr.generator.container.docker.compose with parameters of type IndentingWriterModifier and TypeMethodDescriptionvoid
ComposeFileWriter.writeTo
(IndentingWriter writer, ComposeFile compose) Write a compose.yaml using the specified writer. -
Uses of IndentingWriter in io.spring.initializr.generator.io
Methods in io.spring.initializr.generator.io that return IndentingWriterModifier and TypeMethodDescriptionIndentingWriterFactory.createIndentingWriter
(String contentId, Writer out) Create anIndentingWriter
for the specified content and output. -
Uses of IndentingWriter in io.spring.initializr.generator.language
Methods in io.spring.initializr.generator.language with parameters of type IndentingWriterModifier and TypeMethodDescriptionvoid
Annotation.write
(IndentingWriter writer, CodeBlock.FormattingOptions options) Write this annotation using the specified writer.void
CodeBlock.write
(IndentingWriter writer, CodeBlock.FormattingOptions options) Write this instance using the specified writer.