public static class Layouts.Jar extends java.lang.Object implements RepackagingLayout
| Constructor and Description |
|---|
Jar() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassesLocation()
Returns the location of classes within the archive.
|
java.lang.String |
getClasspathIndexFileLocation()
Returns the location of the classpath index file that should be written or
null if not index is required. |
java.lang.String |
getLauncherClassName()
Returns the launcher class name for this layout.
|
java.lang.String |
getLayersIndexFileLocation()
Returns the location of the layer index file that should be written or
null
if not index is required. |
java.lang.String |
getLibraryLocation(java.lang.String libraryName,
LibraryScope scope)
Returns the destination path for a given library.
|
java.lang.String |
getRepackagedClassesLocation()
Returns the location to which classes should be moved.
|
boolean |
isExecutable()
Returns if loader classes should be included to make the archive executable.
|
public java.lang.String getLauncherClassName()
LayoutgetLauncherClassName in interface Layoutpublic java.lang.String getLibraryLocation(java.lang.String libraryName,
LibraryScope scope)
LayoutgetLibraryLocation in interface LayoutlibraryName - the name of the library (excluding any path)scope - the scope of the librarynull if the library should not be included.public java.lang.String getClassesLocation()
LayoutgetClassesLocation in interface Layoutpublic java.lang.String getRepackagedClassesLocation()
RepackagingLayoutgetRepackagedClassesLocation in interface RepackagingLayoutpublic java.lang.String getClasspathIndexFileLocation()
Layoutnull if not index is required. The result should include the filename and
is relative to the root of the jar.getClasspathIndexFileLocation in interface Layoutpublic java.lang.String getLayersIndexFileLocation()
Layoutnull
if not index is required. The result should include the filename and is relative to
the root of the jar.getLayersIndexFileLocation in interface Layoutpublic boolean isExecutable()
LayoutisExecutable in interface Layout