类 Layouts.War
java.lang.Object
org.springframework.boot.loader.tools.Layouts.War
- 所有已实现的接口:
Layout
- 封闭类:
Layouts
Executable WAR layout.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Returns the location of classes within the archive.Returns the location of the classpath index file that should be written ornullif not index is required.Returns the launcher class name for this layout.Returns the location of the layer index file that should be written ornullif not index is required.getLibraryLocation(String libraryName, LibraryScope scope) Returns the destination path for a given library.booleanReturns if loader classes should be included to make the archive executable.
-
构造器详细资料
-
War
public War()
-
-
方法详细资料
-
getLauncherClassName
从接口复制的说明:LayoutReturns the launcher class name for this layout.- 指定者:
getLauncherClassName在接口中Layout- 返回:
- the launcher class name
-
getLibraryLocation
从接口复制的说明:LayoutReturns the destination path for a given library.- 指定者:
getLibraryLocation在接口中Layout- 参数:
libraryName- the name of the library (excluding any path)scope- the scope of the library- 返回:
- the location of the library relative to the root of the archive (should end
with '/') or
nullif the library should not be included.
-
getClassesLocation
从接口复制的说明:LayoutReturns the location of classes within the archive.- 指定者:
getClassesLocation在接口中Layout- 返回:
- the classes location
-
getClasspathIndexFileLocation
从接口复制的说明:LayoutReturns the location of the classpath index file that should be written ornullif not index is required. The result should include the filename and is relative to the root of the jar.- 指定者:
getClasspathIndexFileLocation在接口中Layout- 返回:
- the classpath index file location
-
getLayersIndexFileLocation
从接口复制的说明:LayoutReturns the location of the layer index file that should be written ornullif not index is required. The result should include the filename and is relative to the root of the jar.- 指定者:
getLayersIndexFileLocation在接口中Layout- 返回:
- the layer index file location
-
isExecutable
public boolean isExecutable()从接口复制的说明:LayoutReturns if loader classes should be included to make the archive executable.- 指定者:
isExecutable在接口中Layout- 返回:
- if the layout is executable
-