インターフェースの使用
org.springframework.boot.loader.tools.LibraryScope
LibraryScope を使用するパッケージ
org.springframework.boot.loader.tools 内の LibraryScope 使用
LibraryScope として宣言されている org.springframework.boot.loader.tools のフィールド修飾子と型フィールド説明static final LibraryScope
LibraryScope.COMPILE
ライブラリは、コンパイル時と実行時に使用されます。static final LibraryScope
LibraryScope.CUSTOM
カスタム構成を使用する場合のカスタムスコープのマーカー。static final LibraryScope
LibraryScope.PROVIDED
ライブラリはコンパイルに必要ですが、通常は実行時に提供されます。static final LibraryScope
LibraryScope.RUNTIME
ライブラリは実行時に使用されますが、コンパイルには必要ありません。型 LibraryScope のパラメーターを持つ org.springframework.boot.loader.tools のメソッド修飾子と型メソッド説明Layout.getLibraryLocation
(StringSE libraryName, LibraryScope scope) 指定されたライブラリの宛先パスを返します。Layouts.Jar.getLibraryLocation
(StringSE libraryName, LibraryScope scope) Layouts.War.getLibraryLocation
(StringSE libraryName, LibraryScope scope) 型 LibraryScope のパラメーターを持つ org.springframework.boot.loader.tools のコンストラクター修飾子コンストラクター説明Library
(FileSE file, LibraryScope scope) 新しいLibrary
を作成します。Library
(StringSE name, FileSE file, LibraryScope scope, LibraryCoordinates coordinates, boolean unpackRequired, boolean local, boolean included) 新しいLibrary
を作成します。