public static class Layouts.LayeredJar extends Layouts.Jar implements LayeredLayout
| Constructor and Description |
|---|
LayeredJar() |
| 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.
|
getClassesLocation, getClasspathIndexFileLocation, getLauncherClassName, getLibraryDestination, getLibraryLocation, getRepackagedClassesLocation, isExecutableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClasspathIndexFileLocation, getRepackagedClassesLocationgetClassesLocation, getLauncherClassName, getLibraryDestination, getLibraryLocation, isExecutablepublic String getLayersIndexFileLocation()
LayeredLayoutnull if not index is required. The result should include the filename and
is relative to the root of the jar.getLayersIndexFileLocation in interface LayeredLayoutpublic String getRepackagedClassesLocation(Layer layer)
LayeredLayoutgetRepackagedClassesLocation in interface LayeredLayoutlayer - the destination layer for the contentpublic String getLibraryLocation(String libraryName, LibraryScope scope, Layer layer)
LayeredLayoutgetLibraryLocation in interface LayeredLayoutlibraryName - 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.