public interface Layout
CustomLoaderLayout if they wish to write
custom loader classes.Layouts,
RepackagingLayout,
CustomLoaderLayout| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassesLocation()
Returns the location of classes within the archive.
|
java.lang.String |
getLauncherClassName()
Returns the launcher class name for this layout.
|
java.lang.String |
getLibraryDestination(java.lang.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 java.lang.String |
getLibraryLocation(java.lang.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.
|
java.lang.String getLauncherClassName()
default java.lang.String getLibraryLocation(java.lang.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
java.lang.String getLibraryDestination(java.lang.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.java.lang.String getClassesLocation()
boolean isExecutable()