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.
|
default String |
getClasspathIndexFileLocation()
Returns the location of the classpath index file that should be written or
null if not index is required. |
String |
getLauncherClassName()
Returns the launcher class name for this layout.
|
default String |
getLayersIndexFileLocation()
Returns the location of the layer index file that should be written or
null
if not index is required. |
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()
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.String getClassesLocation()
default String getClasspathIndexFileLocation()
null
if not index is required. The result should include the filename and
is relative to the root of the jar.default String getLayersIndexFileLocation()
null
if not index is required. The result should include the filename and is relative to
the root of the jar.boolean isExecutable()