A B C D E F G H I J K L M N O P R S T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addMainClassTimeoutWarningListener(Repackager.MainClassTimeoutWarningListener) - Method in class org.springframework.boot.loader.tools.Repackager
- Add a listener that will be triggered to display a warning if searching for the main class takes too long.
- AgentAttacher - Class in org.springframework.boot.loader.tools
- Utility class to attach an instrumentation agent to the running JVM.
- AgentAttacher() - Constructor for class org.springframework.boot.loader.tools.AgentAttacher
- attach(File) - Static method in class org.springframework.boot.loader.tools.AgentAttacher
- attachSignalHandler(Runnable) - Static method in class org.springframework.boot.loader.tools.SignalUtils
- Handle INT signals by calling the specified
Runnable
.
B
- BuildPropertiesWriter - Class in org.springframework.boot.loader.tools
- A
BuildPropertiesWriter
writes thebuild-info.properties
for consumption by the Actuator. - BuildPropertiesWriter(File) - Constructor for class org.springframework.boot.loader.tools.BuildPropertiesWriter
- Creates a new
BuildPropertiesWriter
that will write to the givenoutputFile
. - BuildPropertiesWriter.NullAdditionalPropertyValueException - Exception in org.springframework.boot.loader.tools
- Exception thrown when an additional property with a null value is encountered.
- BuildPropertiesWriter.ProjectDetails - Class in org.springframework.boot.loader.tools
- Build-system agnostic details of a project.
C
- close() - Method in class org.springframework.boot.loader.tools.JarWriter
- Close the writer.
- commandLineArguments() - Static method in class org.springframework.boot.loader.tools.AgentAttacher
- COMPILE - Static variable in interface org.springframework.boot.loader.tools.LibraryScope
- The library is used at compile time and runtime.
- createBuildInfo(BuildPropertiesWriter.ProjectDetails) - Method in class org.springframework.boot.loader.tools.BuildPropertiesWriter
- CUSTOM - Static variable in interface org.springframework.boot.loader.tools.LibraryScope
- Marker for custom scope when custom configuration is used.
- CustomLoaderLayout - Interface in org.springframework.boot.loader.tools
- Additional interface that can be implemented by
Layouts
that write their own loader classes.
D
- DefaultLaunchScript - Class in org.springframework.boot.loader.tools
- Default implementation of
LaunchScript
. - DefaultLaunchScript(File, Map<?, ?>) - Constructor for class org.springframework.boot.loader.tools.DefaultLaunchScript
- Create a new
DefaultLaunchScript
instance. - DefaultLayoutFactory - Class in org.springframework.boot.loader.tools
- Default implementation of
LayoutFactory
. - DefaultLayoutFactory() - Constructor for class org.springframework.boot.loader.tools.DefaultLayoutFactory
- doWithLibraries(LibraryCallback) - Method in interface org.springframework.boot.loader.tools.Libraries
- Iterate all relevant libraries.
E
- Expanded() - Constructor for class org.springframework.boot.loader.tools.Layouts.Expanded
F
- FileUtils - Class in org.springframework.boot.loader.tools
- Utilities for manipulating files and directories in Spring Boot tooling.
- FileUtils() - Constructor for class org.springframework.boot.loader.tools.FileUtils
- findMainClass(File) - Static method in class org.springframework.boot.loader.tools.MainClassFinder
- Find the main class from a given folder.
- findMainClass(JarFile, String) - Static method in class org.springframework.boot.loader.tools.MainClassFinder
- Find the main class in a given jar file.
- findMainMethod(JarFile) - Method in class org.springframework.boot.loader.tools.Repackager
- findSingleMainClass(File) - Static method in class org.springframework.boot.loader.tools.MainClassFinder
- Find a single main class from the given
rootFolder
. - findSingleMainClass(File, String) - Static method in class org.springframework.boot.loader.tools.MainClassFinder
- Find a single main class from the given
rootFolder
. - findSingleMainClass(Collection<File>, String) - Static method in class org.springframework.boot.loader.tools.MainClassFinder
- Find a single main class from the given
rootFolders
. - findSingleMainClass(JarFile, String) - Static method in class org.springframework.boot.loader.tools.MainClassFinder
- Find a single main class in a given jar file.
- findSingleMainClass(JarFile, String, String) - Static method in class org.springframework.boot.loader.tools.MainClassFinder
- Find a single main class in a given jar file.
- forFile(File) - Static method in class org.springframework.boot.loader.tools.Layouts
- Return a layout for the given source file.
G
- getAdditionalProperties() - Method in class org.springframework.boot.loader.tools.BuildPropertiesWriter.ProjectDetails
- getArtifact() - Method in class org.springframework.boot.loader.tools.BuildPropertiesWriter.ProjectDetails
- getBackupFile() - Method in class org.springframework.boot.loader.tools.Repackager
- Return the
File
to use to backup the original source. - getClassesLocation() - Method in interface org.springframework.boot.loader.tools.Layout
- Returns the location of classes within the archive.
- getClassesLocation() - Method in class org.springframework.boot.loader.tools.Layouts.Jar
- getClassesLocation() - Method in class org.springframework.boot.loader.tools.Layouts.Module
- Deprecated.
- getClassesLocation() - Method in class org.springframework.boot.loader.tools.Layouts.War
- getFile() - Method in class org.springframework.boot.loader.tools.Library
- Return the library file.
- getGroup() - Method in class org.springframework.boot.loader.tools.BuildPropertiesWriter.ProjectDetails
- getLauncherClassName() - Method in interface org.springframework.boot.loader.tools.Layout
- Returns the launcher class name for this layout.
- getLauncherClassName() - Method in class org.springframework.boot.loader.tools.Layouts.Expanded
- getLauncherClassName() - Method in class org.springframework.boot.loader.tools.Layouts.Jar
- getLauncherClassName() - Method in class org.springframework.boot.loader.tools.Layouts.Module
- Deprecated.
- getLauncherClassName() - Method in class org.springframework.boot.loader.tools.Layouts.None
- getLauncherClassName() - Method in class org.springframework.boot.loader.tools.Layouts.War
- getLayout(File) - Method in class org.springframework.boot.loader.tools.DefaultLayoutFactory
- getLayout(File) - Method in interface org.springframework.boot.loader.tools.LayoutFactory
- Return a
Layout
for the specified source file. - getLibraryDestination(String, LibraryScope) - Method in interface org.springframework.boot.loader.tools.Layout
- Returns the destination path for a given library.
- getLibraryDestination(String, LibraryScope) - Method in class org.springframework.boot.loader.tools.Layouts.Jar
- getLibraryDestination(String, LibraryScope) - Method in class org.springframework.boot.loader.tools.Layouts.Module
- Deprecated.
- getLibraryDestination(String, LibraryScope) - Method in class org.springframework.boot.loader.tools.Layouts.War
- getName() - Method in class org.springframework.boot.loader.tools.BuildPropertiesWriter.ProjectDetails
- getName() - Method in class org.springframework.boot.loader.tools.Library
- Return the name of file as it should be written.
- getRepackagedClassesLocation() - Method in class org.springframework.boot.loader.tools.Layouts.Jar
- getRepackagedClassesLocation() - Method in interface org.springframework.boot.loader.tools.RepackagingLayout
- Returns the location to which classes should be moved.
- getRunningProcess() - Method in class org.springframework.boot.loader.tools.RunProcess
- Return the running process.
- getScope() - Method in class org.springframework.boot.loader.tools.Library
- Return the scope of the library.
- getVersion() - Method in class org.springframework.boot.loader.tools.BuildPropertiesWriter.ProjectDetails
H
- handleSigInt() - Method in class org.springframework.boot.loader.tools.RunProcess
- Return if the process was stopped.
- handleTimeoutWarning(long, String) - Method in interface org.springframework.boot.loader.tools.Repackager.MainClassTimeoutWarningListener
- Handle a timeout warning.
- hasJustEnded() - Method in class org.springframework.boot.loader.tools.RunProcess
- hasNoVerify() - Static method in class org.springframework.boot.loader.tools.AgentAttacher
I
- initialize() - Static method in class org.springframework.boot.loader.tools.LogbackInitializer
- isExecutable() - Method in interface org.springframework.boot.loader.tools.Layout
- Returns if loader classes should be included to make the archive executable.
- isExecutable() - Method in class org.springframework.boot.loader.tools.Layouts.Jar
- isExecutable() - Method in class org.springframework.boot.loader.tools.Layouts.Module
- Deprecated.
- isExecutable() - Method in class org.springframework.boot.loader.tools.Layouts.None
- isExecutable() - Method in class org.springframework.boot.loader.tools.Layouts.War
- isUnpackRequired() - Method in class org.springframework.boot.loader.tools.Library
- Return if the file cannot be used directly as a nested jar and needs to be unpacked.
J
- Jar() - Constructor for class org.springframework.boot.loader.tools.Layouts.Jar
- JarWriter - Class in org.springframework.boot.loader.tools
- Writes JAR content, ensuring valid directory entries are always create and duplicate items are ignored.
- JarWriter(File) - Constructor for class org.springframework.boot.loader.tools.JarWriter
- Create a new
JarWriter
instance. - JarWriter(File, LaunchScript) - Constructor for class org.springframework.boot.loader.tools.JarWriter
- Create a new
JarWriter
instance. - JavaExecutable - Class in org.springframework.boot.loader.tools
- Provides access to the java binary executable, regardless of OS.
- JavaExecutable() - Constructor for class org.springframework.boot.loader.tools.JavaExecutable
K
- kill() - Method in class org.springframework.boot.loader.tools.RunProcess
- Kill this process.
L
- LaunchScript - Interface in org.springframework.boot.loader.tools
- A script that can be prepended to the front of a JAR file to make it executable.
- Layout - Interface in org.springframework.boot.loader.tools
- Strategy interface used to determine the layout for a particular type of archive.
- LayoutFactory - Interface in org.springframework.boot.loader.tools
- Factory interface used to create a
Layout
. - Layouts - Class in org.springframework.boot.loader.tools
- Common
Layout
s. - Layouts.Expanded - Class in org.springframework.boot.loader.tools
- Executable expanded archive layout.
- Layouts.Jar - Class in org.springframework.boot.loader.tools
- Executable JAR layout.
- Layouts.Module - Class in org.springframework.boot.loader.tools
- Deprecated.as of 1.5 in favor of a custom
LayoutFactory
- Layouts.None - Class in org.springframework.boot.loader.tools
- No layout.
- Layouts.War - Class in org.springframework.boot.loader.tools
- Executable WAR layout.
- Libraries - Interface in org.springframework.boot.loader.tools
- Encapsulates information about libraries that may be packed into the archive.
- library(Library) - Method in interface org.springframework.boot.loader.tools.LibraryCallback
- Callback for a single library backed by a
File
. - Library - Class in org.springframework.boot.loader.tools
- Encapsulates information about a single library that may be packed into the archive.
- Library(File, LibraryScope) - Constructor for class org.springframework.boot.loader.tools.Library
- Create a new
Library
. - Library(File, LibraryScope, boolean) - Constructor for class org.springframework.boot.loader.tools.Library
- Create a new
Library
. - Library(String, File, LibraryScope, boolean) - Constructor for class org.springframework.boot.loader.tools.Library
- Create a new
Library
. - LibraryCallback - Interface in org.springframework.boot.loader.tools
- Callback interface used to iterate
Libraries
. - LibraryScope - Interface in org.springframework.boot.loader.tools
- The scope of a library.
- LoaderClassesWriter - Interface in org.springframework.boot.loader.tools
- Writer used by
CustomLoaderLayouts
to write classes into a repackaged JAR. - LogbackInitializer - Class in org.springframework.boot.loader.tools
- Utility to initialize logback (when present) to use INFO level logging.
- LogbackInitializer() - Constructor for class org.springframework.boot.loader.tools.LogbackInitializer
M
- MainClassFinder - Class in org.springframework.boot.loader.tools
- Finds any class with a
public static main
method by performing a breadth first search. - MainClassFinder() - Constructor for class org.springframework.boot.loader.tools.MainClassFinder
- Module() - Constructor for class org.springframework.boot.loader.tools.Layouts.Module
- Deprecated.
N
- None() - Constructor for class org.springframework.boot.loader.tools.Layouts.None
- NONE - Static variable in interface org.springframework.boot.loader.tools.Libraries
- Represents no libraries.
- NullAdditionalPropertyValueException(String) - Constructor for exception org.springframework.boot.loader.tools.BuildPropertiesWriter.NullAdditionalPropertyValueException
O
- org.springframework.boot.loader.tools - package org.springframework.boot.loader.tools
- Tools for generating executable JAR/WAR files.
P
- processBuilder(String...) - Method in class org.springframework.boot.loader.tools.JavaExecutable
- Create a new
ProcessBuilder
that will run with the Java executable. - ProjectDetails(String, String, String, String, Map<String, String>) - Constructor for class org.springframework.boot.loader.tools.BuildPropertiesWriter.ProjectDetails
- PROVIDED - Static variable in interface org.springframework.boot.loader.tools.LibraryScope
- The library is needed for compile but is usually provided when running.
R
- removeDuplicatesFromOutputDirectory(File, File) - Static method in class org.springframework.boot.loader.tools.FileUtils
- Utility to remove duplicate files from an "output" directory if they already exist in an "origin".
- repackage(File, Libraries) - Method in class org.springframework.boot.loader.tools.Repackager
- Repackage to the given destination so that it can be launched using ' java -jar'.
- repackage(File, Libraries, LaunchScript) - Method in class org.springframework.boot.loader.tools.Repackager
- Repackage to the given destination so that it can be launched using ' java -jar'.
- repackage(Libraries) - Method in class org.springframework.boot.loader.tools.Repackager
- Repackage the source file so that it can be run using 'java -jar'.
- Repackager - Class in org.springframework.boot.loader.tools
- Utility class that can be used to repackage an archive so that it can be executed using 'java -jar'.
- Repackager(File) - Constructor for class org.springframework.boot.loader.tools.Repackager
- Repackager(File, LayoutFactory) - Constructor for class org.springframework.boot.loader.tools.Repackager
- Repackager.MainClassTimeoutWarningListener - Interface in org.springframework.boot.loader.tools
- Callback interface used to present a warning when finding the main class takes too long.
- RepackagingLayout - Interface in org.springframework.boot.loader.tools
- A specialization of
Layout
that repackages an existing archive by moving its content to a new location. - run(boolean, String...) - Method in class org.springframework.boot.loader.tools.RunProcess
- run(boolean, Collection<String>) - Method in class org.springframework.boot.loader.tools.RunProcess
- RunProcess - Class in org.springframework.boot.loader.tools
- Utility used to run a process.
- RunProcess(File, String...) - Constructor for class org.springframework.boot.loader.tools.RunProcess
- Creates new
RunProcess
instance for the specified working directory and command. - RunProcess(String...) - Constructor for class org.springframework.boot.loader.tools.RunProcess
- Creates new
RunProcess
instance for the specified command. - RUNTIME - Static variable in interface org.springframework.boot.loader.tools.LibraryScope
- The library is used at runtime but not needed for compile.
S
- setBackupSource(boolean) - Method in class org.springframework.boot.loader.tools.Repackager
- Sets if source files should be backed up when they would be overwritten.
- setLayout(Layout) - Method in class org.springframework.boot.loader.tools.Repackager
- Sets the layout to use for the jar.
- setLayoutFactory(LayoutFactory) - Method in class org.springframework.boot.loader.tools.Repackager
- Sets the layout factory for the jar.
- setMainClass(String) - Method in class org.springframework.boot.loader.tools.Repackager
- Sets the main class that should be run.
- sha1Hash(File) - Static method in class org.springframework.boot.loader.tools.FileUtils
- Generate a SHA.1 Hash for a given file.
- SignalUtils - Class in org.springframework.boot.loader.tools
- Utilities for working with signal handling.
T
- toByteArray() - Method in class org.springframework.boot.loader.tools.DefaultLaunchScript
- toByteArray() - Method in interface org.springframework.boot.loader.tools.LaunchScript
- The content of the launch script as a byte array.
- toString() - Method in class org.springframework.boot.loader.tools.JavaExecutable
- toString() - Method in interface org.springframework.boot.loader.tools.LibraryScope
W
- War() - Constructor for class org.springframework.boot.loader.tools.Layouts.War
- writeBuildProperties(BuildPropertiesWriter.ProjectDetails) - Method in class org.springframework.boot.loader.tools.BuildPropertiesWriter
- writeEntries(JarFile) - Method in class org.springframework.boot.loader.tools.JarWriter
- Write all entries from the specified jar file.
- writeEntry(String, InputStream) - Method in class org.springframework.boot.loader.tools.JarWriter
- Writes an entry.
- writeEntry(String, InputStream) - Method in interface org.springframework.boot.loader.tools.LoaderClassesWriter
- Write a single entry to the JAR.
- writeLoadedClasses(LoaderClassesWriter) - Method in interface org.springframework.boot.loader.tools.CustomLoaderLayout
- Write the required loader classes into the JAR.
- writeLoaderClasses() - Method in class org.springframework.boot.loader.tools.JarWriter
- Write the required spring-boot-loader classes to the JAR.
- writeLoaderClasses() - Method in interface org.springframework.boot.loader.tools.LoaderClassesWriter
- Write the default required spring-boot-loader classes to the JAR.
- writeLoaderClasses(String) - Method in class org.springframework.boot.loader.tools.JarWriter
- Write the required spring-boot-loader classes to the JAR.
- writeLoaderClasses(String) - Method in interface org.springframework.boot.loader.tools.LoaderClassesWriter
- Write custom required spring-boot-loader classes to the JAR.
- writeManifest(Manifest) - Method in class org.springframework.boot.loader.tools.JarWriter
- Write the specified manifest.
- writeNestedLibrary(String, Library) - Method in class org.springframework.boot.loader.tools.JarWriter
- Write a nested library.
All Classes All Packages