Package org.springframework.aot.nativex
Class NativeConfigurationWriter
java.lang.Object
org.springframework.aot.nativex.NativeConfigurationWriter
- Direct Known Subclasses:
FileNativeConfigurationWriter
Write
RuntimeHints
as GraalVM native configuration.- Since:
- 6.0
- Author:
- Sebastien Deleuze, Stephane Nicoll
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(RuntimeHints hints) Write the GraalVM native configuration from the provided hints.protected abstract void
Write the specified GraalVM native configuration file, using the providedBasicJsonWriter
.
-
Constructor Details
-
NativeConfigurationWriter
public NativeConfigurationWriter()
-
-
Method Details
-
write
Write the GraalVM native configuration from the provided hints.- Parameters:
hints
- the hints to handle
-
writeTo
protected abstract void writeTo(String fileName, Consumer<org.springframework.aot.nativex.BasicJsonWriter> writer) Write the specified GraalVM native configuration file, using the providedBasicJsonWriter
.- Parameters:
fileName
- the name of the filewriter
- a consumer for the writer to use
-