类 Layers

java.lang.Object
org.springframework.boot.maven.Layers

public class Layers extends Object
Layer configuration options.
从以下版本开始:
2.3.0
作者:
Madhura Bhave
  • 构造器详细资料

    • Layers

      public Layers()
  • 方法详细资料

    • isEnabled

      public boolean isEnabled()
      Whether a layers.idx file should be added to the jar.
      返回:
      true if a layers.idx file should be added.
    • getConfiguration

      public File getConfiguration()
      The location of the layers configuration file. If no file is provided, a default configuration is used with four layers: application, resources, snapshot-dependencies and dependencies.
      返回:
      the layers configuration file
    • setConfiguration

      public void setConfiguration(File configuration)