public interface Layout
CustomLoaderLayout
if they wish to write
custom loader classes.Layouts
,
RepackagingLayout
,
CustomLoaderLayout
Modifier and Type | Method and Description |
---|---|
String |
getClassesLocation()
Returns the location of classes within the archive.
|
String |
getLauncherClassName()
Returns the launcher class name for this layout.
|
String |
getLibraryDestination(String libraryName,
LibraryScope scope)
Deprecated.
since 2.3.0 for removal in 2.5.0 in favor of
getLibraryLocation(java.lang.String, org.springframework.boot.loader.tools.LibraryScope) |
default String |
getLibraryLocation(String libraryName,
LibraryScope scope)
Returns the destination path for a given library.
|
boolean |
isExecutable()
Returns if loader classes should be included to make the archive executable.
|
String getLauncherClassName()
default String getLibraryLocation(String libraryName, LibraryScope scope)
libraryName
- the name of the library (excluding any path)scope
- the scope of the librarynull
if the library should not be included.@Deprecated String getLibraryDestination(String libraryName, LibraryScope scope)
getLibraryLocation(java.lang.String, org.springframework.boot.loader.tools.LibraryScope)
libraryName
- the name of the library (excluding any path)scope
- the scope of the librarynull
if the library should not be included.String getClassesLocation()
boolean isExecutable()