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, isExecutable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClasspathIndexFileLocation, getRepackagedClassesLocation
getClassesLocation, getLauncherClassName, getLibraryDestination, getLibraryLocation, isExecutable
public String getLayersIndexFileLocation()
LayeredLayout
null
if not index is required. The result should include the filename and
is relative to the root of the jar.getLayersIndexFileLocation
in interface LayeredLayout
public String getRepackagedClassesLocation(Layer layer)
LayeredLayout
getRepackagedClassesLocation
in interface LayeredLayout
layer
- the destination layer for the contentpublic String getLibraryLocation(String libraryName, LibraryScope scope, Layer layer)
LayeredLayout
getLibraryLocation
in interface LayeredLayout
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.