接口的使用
org.springframework.boot.loader.tools.LibraryScope
使用LibraryScope的程序包
-
org.springframework.boot.loader.tools中LibraryScope的使用
修饰符和类型字段说明static final LibraryScope
LibraryScope.COMPILE
The library is used at compile time and runtime.static final LibraryScope
LibraryScope.CUSTOM
Marker for custom scope when custom configuration is used.static final LibraryScope
LibraryScope.PROVIDED
The library is needed for compile but is usually provided when running.static final LibraryScope
LibraryScope.RUNTIME
The library is used at runtime but not needed for compile.修饰符和类型方法说明Layout.getLibraryLocation
(String libraryName, LibraryScope scope) Returns the destination path for a given library.Layouts.Jar.getLibraryLocation
(String libraryName, LibraryScope scope) Layouts.War.getLibraryLocation
(String libraryName, LibraryScope scope) 限定符构造器说明Library
(File file, LibraryScope scope) Create a newLibrary
.Library
(String name, File file, LibraryScope scope, LibraryCoordinates coordinates, boolean unpackRequired, boolean local, boolean included) Create a newLibrary
.