类 NativeImageArgFile
java.lang.Object
org.springframework.boot.loader.tools.NativeImageArgFile
Class to work with the native-image argfile.
- 从以下版本开始:
- 3.0.0
- 作者:
- Moritz Halbritter, Phillip Webb
-
字段概要
字段 -
构造器概要
构造器构造器说明NativeImageArgFile
(Collection<String> excludes) Constructs a new instance with the given excludes. -
方法概要
修饰符和类型方法说明void
writeIfNecessary
(ThrowingConsumer<List<String>> writer) Write the arguments file if it is necessary.
-
字段详细资料
-
LOCATION
Location of the argfile.- 另请参阅:
-
-
构造器详细资料
-
NativeImageArgFile
Constructs a new instance with the given excludes.- 参数:
excludes
- dependencies for which the reachability metadata should be excluded
-
-
方法详细资料
-
writeIfNecessary
Write the arguments file if it is necessary.- 参数:
writer
- consumer that should write the contents
-