Package | Description |
---|---|
org.springframework.boot.loader.tools |
Tools for generating executable JAR/WAR files.
|
Modifier and Type | Field and Description |
---|---|
static LibraryScope |
LibraryScope.COMPILE
The library is used at compile time and runtime.
|
static LibraryScope |
LibraryScope.CUSTOM
Marker for custom scope when custom configuration is used.
|
static LibraryScope |
LibraryScope.PROVIDED
The library is needed for compile but is usually provided when running.
|
static LibraryScope |
LibraryScope.RUNTIME
The library is used at runtime but not needed for compile.
|
Modifier and Type | Method and Description |
---|---|
LibraryScope |
Library.getScope()
Return the scope of the library.
|
Modifier and Type | Method and Description |
---|---|
String |
Layouts.Jar.getLibraryDestination(String libraryName,
LibraryScope scope) |
String |
Layouts.War.getLibraryDestination(String libraryName,
LibraryScope scope) |
String |
Layouts.Module.getLibraryDestination(String libraryName,
LibraryScope scope)
Deprecated.
|
String |
Layout.getLibraryDestination(String libraryName,
LibraryScope scope)
Returns the destination path for a given library.
|
Constructor and Description |
---|
Library(File file,
LibraryScope scope)
Create a new
Library . |
Library(File file,
LibraryScope scope,
boolean unpackRequired)
Create a new
Library . |
Library(String name,
File file,
LibraryScope scope,
boolean unpackRequired)
Create a new
Library . |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.