Class Layouts.Module
- java.lang.Object
- org.springframework.boot.loader.tools.Layouts.Module
- All Implemented Interfaces:
Layout
- Enclosing class:
- Layouts
@Deprecated public static class Layouts.Module extends Object implements Layout
Deprecated.as of 1.5 in favor of a customLayoutFactory
Module layout (designed to be used as a "plug-in").
Constructor Summary
Constructors Constructor Description Module()
Deprecated.
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getClassesLocation()
Deprecated.Returns the location of classes within the archive.String
getLauncherClassName()
Deprecated.Returns the launcher class name for this layout.String
getLibraryDestination(String libraryName, LibraryScope scope)
Deprecated.Returns the destination path for a given library.boolean
isExecutable()
Deprecated.Returns if loader classes should be included to make the archive executable.
Constructor Detail
Module
public Module()
Deprecated.
Method Detail
getLauncherClassName
public String getLauncherClassName()
Deprecated.Description copied from interface:Layout
Returns the launcher class name for this layout.- Specified by:
getLauncherClassName
in interfaceLayout
- Returns:
- the launcher class name
getLibraryDestination
public String getLibraryDestination(String libraryName, LibraryScope scope)
Deprecated.Description copied from interface:Layout
Returns the destination path for a given library.- Specified by:
getLibraryDestination
in interfaceLayout
- Parameters:
libraryName
- the name of the library (excluding any path)scope
- the scope of the library- Returns:
- the destination relative to the root of the archive (should end with '/') or
null
if the library should not be included.
getClassesLocation
public String getClassesLocation()
Deprecated.Description copied from interface:Layout
Returns the location of classes within the archive.- Specified by:
getClassesLocation
in interfaceLayout
- Returns:
- the classes location
isExecutable
public boolean isExecutable()
Deprecated.Description copied from interface:Layout
Returns if loader classes should be included to make the archive executable.- Specified by:
isExecutable
in interfaceLayout
- Returns:
- if the layout is executable