public interface LayeredLayout extends RepackagingLayout
RepackagingLayout
that supports layers in the repackaged
archive.Modifier and Type | Method and Description |
---|---|
String |
getLayersIndexFileLocation()
Returns the location of the layers index file that should be written or
null if not index is required. |
String |
getLibraryLocation(String libraryName,
LibraryScope scope,
Layer layer)
Returns the destination path for a given library within the context of a layer.
|
String |
getRepackagedClassesLocation(Layer layer)
Returns the location to which classes should be moved within the context of a
layer.
|
getClasspathIndexFileLocation, getRepackagedClassesLocation
getClassesLocation, getLauncherClassName, getLibraryDestination, getLibraryLocation, isExecutable
String getLayersIndexFileLocation()
null
if not index is required. The result should include the filename and
is relative to the root of the jar.String getRepackagedClassesLocation(Layer layer)
layer
- the destination layer for the contentString getLibraryLocation(String libraryName, LibraryScope scope, Layer layer)
libraryName
- the name of the library (excluding any path)scope
- the scope of the librarylayer
- the destination layer for the contentnull
if the library should not be included.