Class Layouts.None
- java.lang.Object
- org.springframework.boot.loader.tools.Layouts.Jar
- org.springframework.boot.loader.tools.Layouts.None
- All Implemented Interfaces:
Layout
,RepackagingLayout
- Enclosing class:
- Layouts
public static class Layouts.None extends Layouts.Jar
No layout.
Constructor Summary
Constructors Constructor Description None()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLauncherClassName()
Returns the launcher class name for this layout.boolean
isExecutable()
Returns if loader classes should be included to make the archive executable.Methods inherited from class org.springframework.boot.loader.tools.Layouts.Jar
getClassesLocation, getLibraryDestination, getRepackagedClassesLocation
Constructor Detail
None
public None()
Method Detail
getLauncherClassName
public String getLauncherClassName()
Description copied from interface:Layout
Returns the launcher class name for this layout.- Specified by:
getLauncherClassName
in interfaceLayout
- Overrides:
getLauncherClassName
in classLayouts.Jar
- Returns:
- the launcher class name
isExecutable
public boolean isExecutable()
Description copied from interface:Layout
Returns if loader classes should be included to make the archive executable.- Specified by:
isExecutable
in interfaceLayout
- Overrides:
isExecutable
in classLayouts.Jar
- Returns:
- if the layout is executable