类 NativeImageArgFile

java.lang.Object
org.springframework.boot.loader.tools.NativeImageArgFile

public final class NativeImageArgFile extends Object
Class to work with the native-image argfile.
从以下版本开始:
3.0.0
作者:
Moritz Halbritter, Phillip Webb
  • 字段详细资料

  • 构造器详细资料

    • NativeImageArgFile

      public NativeImageArgFile(Collection<String> excludes)
      Constructs a new instance with the given excludes.
      参数:
      excludes - dependencies for which the reachability metadata should be excluded
  • 方法详细资料

    • writeIfNecessary

      public void writeIfNecessary(ThrowingConsumer<List<String>> writer)
      Write the arguments file if it is necessary.
      参数:
      writer - consumer that should write the contents