Uses of Enum Class
org.springframework.aot.generate.GeneratedFiles.Kind
Package
Description
Support classes for components that contribute generated code equivalent to a
runtime behavior.
-
Uses of GeneratedFiles.Kind in org.springframework.aot.generate
Modifier and TypeMethodDescriptionstatic GeneratedFiles.Kind
Returns the enum constant of this class with the specified name.static GeneratedFiles.Kind[]
GeneratedFiles.Kind.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
FileSystemGeneratedFiles.addFile
(GeneratedFiles.Kind kind, String path, InputStreamSource content) default void
GeneratedFiles.addFile
(GeneratedFiles.Kind kind, String path, CharSequence content) Add a generated file of the specifiedGeneratedFiles.Kind
with content from the givenCharSequence
.void
GeneratedFiles.addFile
(GeneratedFiles.Kind kind, String path, InputStreamSource content) Add a generated file of the specifiedGeneratedFiles.Kind
with content from the givenInputStreamSource
.default void
GeneratedFiles.addFile
(GeneratedFiles.Kind kind, String path, ThrowingConsumer<Appendable> content) Add a generated file of the specifiedGeneratedFiles.Kind
with content written to anAppendable
passed to the givenThrowingConsumer
.void
InMemoryGeneratedFiles.addFile
(GeneratedFiles.Kind kind, String path, InputStreamSource content) InMemoryGeneratedFiles.getGeneratedFile
(GeneratedFiles.Kind kind, String path) Return theInputStreamSource
of specified file.InMemoryGeneratedFiles.getGeneratedFileContent
(GeneratedFiles.Kind kind, String path) Return the content of the specified file.InMemoryGeneratedFiles.getGeneratedFiles
(GeneratedFiles.Kind kind) Return aMap
of the generated files of a specificGeneratedFiles.Kind
.ModifierConstructorDescriptionCreate a newFileSystemGeneratedFiles
instance with all files stored under the root provided by the givenFunction
.