Class NativeImageArgFile
java.lang.Object
org.springframework.boot.loader.tools.NativeImageArgFile
Class to work with the native-image argfile.
- Since:
- 3.0.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNativeImageArgFile
(Collection<String> excludes) Constructs a new instance with the given excludes. -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeIfNecessary
(org.springframework.util.function.ThrowingConsumer<List<String>> writer) Write the arguments file if it is necessary.
-
Field Details
-
LOCATION
Location of the argfile.- See Also:
-
-
Constructor Details
-
NativeImageArgFile
Constructs a new instance with the given excludes.- Parameters:
excludes
- dependencies for which the reachability metadata should be excluded
-
-
Method Details