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 customLayoutFactoryModule 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 StringgetClassesLocation()Deprecated.Returns the location of classes within the archive.StringgetLauncherClassName()Deprecated.Returns the launcher class name for this layout.StringgetLibraryDestination(String libraryName, LibraryScope scope)Deprecated.Returns the destination path for a given library.booleanisExecutable()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:LayoutReturns the launcher class name for this layout.- Specified by:
getLauncherClassNamein interfaceLayout- Returns:
- the launcher class name
getLibraryDestination
public String getLibraryDestination(String libraryName, LibraryScope scope)
Deprecated.Description copied from interface:LayoutReturns the destination path for a given library.- Specified by:
getLibraryDestinationin 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
nullif the library should not be included.
getClassesLocation
public String getClassesLocation()
Deprecated.Description copied from interface:LayoutReturns the location of classes within the archive.- Specified by:
getClassesLocationin interfaceLayout- Returns:
- the classes location
isExecutable
public boolean isExecutable()
Deprecated.Description copied from interface:LayoutReturns if loader classes should be included to make the archive executable.- Specified by:
isExecutablein interfaceLayout- Returns:
- if the layout is executable