A C D E F G H I J K L M N P R S T V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractDependencyFilterMojo - Class in io.joshworks.snappy.maven
-
A base mojo filtering the dependencies of the project.
- AbstractDependencyFilterMojo() - Constructor for class io.joshworks.snappy.maven.AbstractDependencyFilterMojo
- AbstractRunMojo - Class in io.joshworks.snappy.maven
-
Base class to run a spring application.
- AbstractRunMojo() - Constructor for class io.joshworks.snappy.maven.AbstractRunMojo
- AgentAttacher - Class in io.joshworks.snappy.maven.tools
-
Utility class to attach an instrumentation agent to the running JVM.
- AgentAttacher() - Constructor for class io.joshworks.snappy.maven.tools.AgentAttacher
- ArtifactsLibraries - Class in io.joshworks.snappy.maven
-
Librariesbacked by MavenArtifacts. - ArtifactsLibraries(Set<Artifact>, Collection<Dependency>, Log) - Constructor for class io.joshworks.snappy.maven.ArtifactsLibraries
- attach(File) - Static method in class io.joshworks.snappy.maven.tools.AgentAttacher
- attachSignalHandler(Runnable) - Static method in class io.joshworks.snappy.maven.tools.SignalUtils
-
Handle INT signals by calling the specified
Runnable.
C
- canTransformResource(String) - Method in class io.joshworks.snappy.maven.PropertiesMergingResourceTransformer
- close() - Method in class io.joshworks.snappy.maven.tools.JarWriter
-
Close the writer.
- commandLineArguments() - Static method in class io.joshworks.snappy.maven.tools.AgentAttacher
- COMPILE - Static variable in interface io.joshworks.snappy.maven.tools.LibraryScope
-
The library is used at compile time and runtime.
- CUSTOM - Static variable in interface io.joshworks.snappy.maven.tools.LibraryScope
-
Marker for custom scope when custom configuration is used.
D
- DefaultLaunchScript - Class in io.joshworks.snappy.maven.tools
-
Default implementation of
LaunchScript. - DefaultLaunchScript(File, Map<?, ?>) - Constructor for class io.joshworks.snappy.maven.tools.DefaultLaunchScript
-
Create a new
DefaultLaunchScriptinstance. - DependencyFilter - Class in io.joshworks.snappy.maven
-
Base class for
ArtifactsFilterbased on aFilterableDependencylist. - DependencyFilter(List<? extends FilterableDependency>) - Constructor for class io.joshworks.snappy.maven.DependencyFilter
-
Create a new instance with the list of
FilterableDependencyinstance(s) to use. - DIR - io.joshworks.snappy.maven.RepackageMojo.LayoutType
-
Dir Layout.
- doWith(String) - Method in interface io.joshworks.snappy.maven.tools.MainClassFinder.ClassNameCallback
-
Handle the specified class name.
- doWithLibraries(LibraryCallback) - Method in class io.joshworks.snappy.maven.ArtifactsLibraries
- doWithLibraries(LibraryCallback) - Method in interface io.joshworks.snappy.maven.tools.Libraries
-
Iterate all relevant libraries.
E
- equals(Artifact, FilterableDependency) - Method in class io.joshworks.snappy.maven.DependencyFilter
-
Check if the specified
Artifactmatches the specifiedFilterableDependency. - Exclude - Class in io.joshworks.snappy.maven
-
A model for a dependency to exclude.
- Exclude() - Constructor for class io.joshworks.snappy.maven.Exclude
- ExcludeFilter - Class in io.joshworks.snappy.maven
-
An {DependencyFilter} that filters out any artifact matching an
Exclude. - ExcludeFilter(Exclude...) - Constructor for class io.joshworks.snappy.maven.ExcludeFilter
- ExcludeFilter(List<Exclude>) - Constructor for class io.joshworks.snappy.maven.ExcludeFilter
- execute() - Method in class io.joshworks.snappy.maven.AbstractRunMojo
- execute() - Method in class io.joshworks.snappy.maven.HelpMojo
- execute() - Method in class io.joshworks.snappy.maven.RepackageMojo
- execute() - Method in class io.joshworks.snappy.maven.StopMojo
- execute(long, int, Callable<T>) - Method in class io.joshworks.snappy.maven.StartMojo
-
Execute a task, retrying it on failure.
- Expanded() - Constructor for class io.joshworks.snappy.maven.tools.Layouts.Expanded
F
- FileUtils - Class in io.joshworks.snappy.maven.tools
-
Utilities for manipulating files and directories in Spring Boot tooling.
- FileUtils() - Constructor for class io.joshworks.snappy.maven.tools.FileUtils
- filter(Set) - Method in class io.joshworks.snappy.maven.DependencyFilter
- filter(Artifact) - Method in class io.joshworks.snappy.maven.DependencyFilter
- filter(Artifact) - Method in class io.joshworks.snappy.maven.ExcludeFilter
- filter(Artifact) - Method in class io.joshworks.snappy.maven.IncludeFilter
- filterDependencies(Set<Artifact>, FilterArtifacts) - Method in class io.joshworks.snappy.maven.AbstractDependencyFilterMojo
- findMainClass(File) - Static method in class io.joshworks.snappy.maven.tools.MainClassFinder
-
Find the main class from a given folder.
- findMainClass(JarFile, String) - Static method in class io.joshworks.snappy.maven.tools.MainClassFinder
-
Find the main class in a given jar file.
- findMainMethod(JarFile) - Method in class io.joshworks.snappy.maven.tools.Repackager
- findSingleMainClass(File) - Static method in class io.joshworks.snappy.maven.tools.MainClassFinder
-
Find a single main class from a given folder.
- findSingleMainClass(JarFile, String) - Static method in class io.joshworks.snappy.maven.tools.MainClassFinder
-
Find a single main class in a given jar file.
- forFile(File) - Static method in class io.joshworks.snappy.maven.tools.Layouts
-
Return a layout for the given source file.
G
- getArtifactFeature(Artifact) - Method in class io.joshworks.snappy.maven.MatchingGroupIdFilter
- getClassesLocation() - Method in interface io.joshworks.snappy.maven.tools.Layout
-
Returns the location of classes within the archive.
- getClassesLocation() - Method in class io.joshworks.snappy.maven.tools.Layouts.Jar
- getClassesLocation() - Method in class io.joshworks.snappy.maven.tools.Layouts.Module
- getClassesLocation() - Method in class io.joshworks.snappy.maven.tools.Layouts.War
- getClassPathUrls() - Method in class io.joshworks.snappy.maven.AbstractRunMojo
- getData() - Method in class io.joshworks.snappy.maven.PropertiesMergingResourceTransformer
-
Return the data the properties being merged.
- getFile() - Method in class io.joshworks.snappy.maven.tools.Library
-
Return the library file.
- getFilters() - Method in class io.joshworks.snappy.maven.DependencyFilter
- getFilters(ArtifactsFilter...) - Method in class io.joshworks.snappy.maven.AbstractDependencyFilterMojo
-
Return artifact filters configured for this MOJO.
- getLauncherClassName() - Method in interface io.joshworks.snappy.maven.tools.Layout
-
Returns the launcher class name for this layout.
- getLauncherClassName() - Method in class io.joshworks.snappy.maven.tools.Layouts.Expanded
- getLauncherClassName() - Method in class io.joshworks.snappy.maven.tools.Layouts.Jar
- getLauncherClassName() - Method in class io.joshworks.snappy.maven.tools.Layouts.Module
- getLauncherClassName() - Method in class io.joshworks.snappy.maven.tools.Layouts.None
- getLauncherClassName() - Method in class io.joshworks.snappy.maven.tools.Layouts.War
- getLibraryDestination(String, LibraryScope) - Method in interface io.joshworks.snappy.maven.tools.Layout
-
Returns the destination path for a given library.
- getLibraryDestination(String, LibraryScope) - Method in class io.joshworks.snappy.maven.tools.Layouts.Jar
- getLibraryDestination(String, LibraryScope) - Method in class io.joshworks.snappy.maven.tools.Layouts.Module
- getLibraryDestination(String, LibraryScope) - Method in class io.joshworks.snappy.maven.tools.Layouts.War
- getName() - Method in class io.joshworks.snappy.maven.tools.Library
-
Return the name of file as it should be written.
- getResource() - Method in class io.joshworks.snappy.maven.PropertiesMergingResourceTransformer
- getRunningProcess() - Method in class io.joshworks.snappy.maven.tools.RunProcess
-
Return the running process.
- getScope() - Method in class io.joshworks.snappy.maven.tools.Library
-
Return the scope of the library.
H
- handleSigInt() - Method in class io.joshworks.snappy.maven.tools.RunProcess
-
Return if the process was stopped.
- hasJustEnded() - Method in class io.joshworks.snappy.maven.tools.RunProcess
- hasNoVerify() - Static method in class io.joshworks.snappy.maven.tools.AgentAttacher
- hasTransformedResource() - Method in class io.joshworks.snappy.maven.PropertiesMergingResourceTransformer
- HelpMojo - Class in io.joshworks.snappy.maven
-
Display help information on snappy-maven-plugin.
Callmvn snappy:help -Ddetail=true -Dgoal=<goal-name>to display parameter details. - HelpMojo() - Constructor for class io.joshworks.snappy.maven.HelpMojo
I
- Include - Class in io.joshworks.snappy.maven
-
A model for a dependency to include.
- Include() - Constructor for class io.joshworks.snappy.maven.Include
- IncludeFilter - Class in io.joshworks.snappy.maven
-
An
ArtifactsFilterthat filters out any artifact not matching anInclude. - IncludeFilter(List<Include>) - Constructor for class io.joshworks.snappy.maven.IncludeFilter
- initialize() - Static method in class io.joshworks.snappy.maven.tools.LogbackInitializer
- io.joshworks.snappy.maven - package io.joshworks.snappy.maven
- io.joshworks.snappy.maven.tools - package io.joshworks.snappy.maven.tools
-
Tools for generating executable JAR/WAR files.
- isExecutable() - Method in interface io.joshworks.snappy.maven.tools.Layout
-
Returns if loader classes should be included to make the archive executable.
- isExecutable() - Method in class io.joshworks.snappy.maven.tools.Layouts.Jar
- isExecutable() - Method in class io.joshworks.snappy.maven.tools.Layouts.Module
- isExecutable() - Method in class io.joshworks.snappy.maven.tools.Layouts.None
- isExecutable() - Method in class io.joshworks.snappy.maven.tools.Layouts.War
- isFork() - Method in class io.joshworks.snappy.maven.AbstractRunMojo
-
Specify if the application process should be forked.
- isUnpackRequired() - Method in class io.joshworks.snappy.maven.tools.Library
-
Return if the file cannot be used directly as a nested jar and needs to be unpacked.
J
- Jar() - Constructor for class io.joshworks.snappy.maven.tools.Layouts.Jar
- JAR - io.joshworks.snappy.maven.RepackageMojo.LayoutType
-
Jar Layout.
- JarWriter - Class in io.joshworks.snappy.maven.tools
-
Writes JAR content, ensuring valid directory entries are always create and duplicate items are ignored.
- JarWriter(File) - Constructor for class io.joshworks.snappy.maven.tools.JarWriter
-
Create a new
JarWriterinstance. - JarWriter(File, LaunchScript) - Constructor for class io.joshworks.snappy.maven.tools.JarWriter
-
Create a new
JarWriterinstance. - JavaExecutable - Class in io.joshworks.snappy.maven.tools
-
Provides access to the java binary executable, regardless of OS.
- JavaExecutable() - Constructor for class io.joshworks.snappy.maven.tools.JavaExecutable
K
- kill() - Method in class io.joshworks.snappy.maven.tools.RunProcess
-
Kill this process.
L
- LaunchScript - Interface in io.joshworks.snappy.maven.tools
-
A script that can be prepended to the front of a JAR file to make it executable.
- layout() - Method in enum io.joshworks.snappy.maven.RepackageMojo.LayoutType
- Layout - Interface in io.joshworks.snappy.maven.tools
-
Strategy interface used to determine the layout for a particular type of archive.
- Layouts - Class in io.joshworks.snappy.maven.tools
-
Common
Layouts. - Layouts.Expanded - Class in io.joshworks.snappy.maven.tools
-
Executable expanded archive layout.
- Layouts.Jar - Class in io.joshworks.snappy.maven.tools
-
Executable JAR layout.
- Layouts.Module - Class in io.joshworks.snappy.maven.tools
-
Module layout (designed to be used as a "plug-in").
- Layouts.None - Class in io.joshworks.snappy.maven.tools
-
No layout.
- Layouts.War - Class in io.joshworks.snappy.maven.tools
-
Executable WAR layout.
- Libraries - Interface in io.joshworks.snappy.maven.tools
-
Encapsulates information about libraries that may be packed into the archive.
- library(Library) - Method in interface io.joshworks.snappy.maven.tools.LibraryCallback
-
Callback to for a single library backed by a
File. - Library - Class in io.joshworks.snappy.maven.tools
-
Encapsulates information about a single library that may be packed into the archive.
- Library(File, LibraryScope) - Constructor for class io.joshworks.snappy.maven.tools.Library
-
Create a new
Library. - Library(File, LibraryScope, boolean) - Constructor for class io.joshworks.snappy.maven.tools.Library
-
Create a new
Library. - Library(String, File, LibraryScope, boolean) - Constructor for class io.joshworks.snappy.maven.tools.Library
-
Create a new
Library. - LibraryCallback - Interface in io.joshworks.snappy.maven.tools
-
Callback interface used to iterate
Libraries. - LibraryScope - Interface in io.joshworks.snappy.maven.tools
-
The scope of a library.
- LogbackInitializer - Class in io.joshworks.snappy.maven.tools
-
Utility to initialize logback (when present) to use INFO level logging.
- LogbackInitializer() - Constructor for class io.joshworks.snappy.maven.tools.LogbackInitializer
M
- MainClassFinder - Class in io.joshworks.snappy.maven.tools
-
Finds any class with a
public static mainmethod by performing a breadth first search. - MainClassFinder() - Constructor for class io.joshworks.snappy.maven.tools.MainClassFinder
- MainClassFinder.ClassNameCallback<T> - Interface in io.joshworks.snappy.maven.tools
-
Callback interface used to receive class names.
- MatchingGroupIdFilter - Class in io.joshworks.snappy.maven
-
An
ArtifactsFilterthat filters by matching groupId. - MatchingGroupIdFilter(String) - Constructor for class io.joshworks.snappy.maven.MatchingGroupIdFilter
-
Create a new instance with the CSV groupId values that should be excluded.
- modifyOutputStream(JarOutputStream) - Method in class io.joshworks.snappy.maven.PropertiesMergingResourceTransformer
- Module() - Constructor for class io.joshworks.snappy.maven.tools.Layouts.Module
- MODULE - io.joshworks.snappy.maven.RepackageMojo.LayoutType
-
Module Layout.
N
- None() - Constructor for class io.joshworks.snappy.maven.tools.Layouts.None
- NONE - io.joshworks.snappy.maven.RepackageMojo.LayoutType
-
No Layout.
- NONE - Static variable in interface io.joshworks.snappy.maven.tools.Libraries
-
Represents no libraries.
P
- processBuilder(String...) - Method in class io.joshworks.snappy.maven.tools.JavaExecutable
-
Create a new
ProcessBuilderthat will run with the Java executable. - processResource(String, InputStream, List<Relocator>) - Method in class io.joshworks.snappy.maven.PropertiesMergingResourceTransformer
- PropertiesMergingResourceTransformer - Class in io.joshworks.snappy.maven
-
Extension for the Maven shade plugin to allow properties files (e.g.
- PropertiesMergingResourceTransformer() - Constructor for class io.joshworks.snappy.maven.PropertiesMergingResourceTransformer
- PROVIDED - Static variable in interface io.joshworks.snappy.maven.tools.LibraryScope
-
The library is needed for compile but is usually provided when running.
R
- removeDuplicatesFromOutputDirectory(File, File) - Static method in class io.joshworks.snappy.maven.tools.FileUtils
-
Utility to remove duplicate files from an "output" directory if they already exist in an "origin".
- repackage(Libraries) - Method in class io.joshworks.snappy.maven.tools.Repackager
-
Repackage the source file so that it can be run using 'java -jar'.
- repackage(File, Libraries) - Method in class io.joshworks.snappy.maven.tools.Repackager
-
Repackage to the given destination so that it can be launched using ' java -jar'.
- repackage(File, Libraries, LaunchScript) - Method in class io.joshworks.snappy.maven.tools.Repackager
-
Repackage to the given destination so that it can be launched using ' java -jar'.
- RepackageMojo - Class in io.joshworks.snappy.maven
-
Repackages existing JAR and WAR archives so that they can be executed from the command line using java -jar.
- RepackageMojo() - Constructor for class io.joshworks.snappy.maven.RepackageMojo
- RepackageMojo.LayoutType - Enum in io.joshworks.snappy.maven
-
Archive layout types.
- Repackager - Class in io.joshworks.snappy.maven.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 io.joshworks.snappy.maven.tools.Repackager
- resolveApplicationArguments() - Method in class io.joshworks.snappy.maven.AbstractRunMojo
-
Resolve the application arguments to use.
- resolveApplicationArguments() - Method in class io.joshworks.snappy.maven.StartMojo
- resolveJvmArguments() - Method in class io.joshworks.snappy.maven.AbstractRunMojo
-
Resolve the JVM arguments to use.
- resolveJvmArguments() - Method in class io.joshworks.snappy.maven.StartMojo
- run(boolean, String...) - Method in class io.joshworks.snappy.maven.tools.RunProcess
- run(boolean, Collection<String>) - Method in class io.joshworks.snappy.maven.tools.RunProcess
- RunMojo - Class in io.joshworks.snappy.maven
-
Run an executable archive application.
- RunMojo() - Constructor for class io.joshworks.snappy.maven.RunMojo
- RunProcess - Class in io.joshworks.snappy.maven.tools
-
Utility used to run a process.
- RunProcess(String...) - Constructor for class io.joshworks.snappy.maven.tools.RunProcess
- RUNTIME - Static variable in interface io.joshworks.snappy.maven.tools.LibraryScope
-
The library is used at runtime but not needed for compile.
- runWithForkedJvm(List<String>) - Method in class io.joshworks.snappy.maven.AbstractRunMojo
-
Run with a forked VM, using the specified command line arguments.
- runWithForkedJvm(List<String>) - Method in class io.joshworks.snappy.maven.RunMojo
- runWithForkedJvm(List<String>) - Method in class io.joshworks.snappy.maven.StartMojo
- runWithMavenJvm(String, String...) - Method in class io.joshworks.snappy.maven.AbstractRunMojo
-
Run with the current VM, using the specified arguments.
- runWithMavenJvm(String, String...) - Method in class io.joshworks.snappy.maven.RunMojo
- runWithMavenJvm(String, String...) - Method in class io.joshworks.snappy.maven.StartMojo
S
- setBackupSource(boolean) - Method in class io.joshworks.snappy.maven.tools.Repackager
-
Sets if source files should be backed up when they would be overwritten.
- setExcludeArtifactIds(String) - Method in class io.joshworks.snappy.maven.AbstractDependencyFilterMojo
- setExcludeGroupIds(String) - Method in class io.joshworks.snappy.maven.AbstractDependencyFilterMojo
- setExcludes(List<Exclude>) - Method in class io.joshworks.snappy.maven.AbstractDependencyFilterMojo
- setIncludes(List<Include>) - Method in class io.joshworks.snappy.maven.AbstractDependencyFilterMojo
- setLayout(Layout) - Method in class io.joshworks.snappy.maven.tools.Repackager
-
Sets the layout to use for the jar.
- setMainClass(String) - Method in class io.joshworks.snappy.maven.tools.Repackager
-
Sets the main class that should be run.
- setResource(String) - Method in class io.joshworks.snappy.maven.PropertiesMergingResourceTransformer
- sha1Hash(File) - Static method in class io.joshworks.snappy.maven.tools.FileUtils
-
Generate a SHA.1 Hash for a given file.
- SignalUtils - Class in io.joshworks.snappy.maven.tools
-
Utilities for working with signal handling.
- StartMojo - Class in io.joshworks.snappy.maven
-
Start a application.
- StartMojo() - Constructor for class io.joshworks.snappy.maven.StartMojo
- StopMojo - Class in io.joshworks.snappy.maven
-
Stop a spring application that has been started by the "start" goal.
- StopMojo() - Constructor for class io.joshworks.snappy.maven.StopMojo
T
- toByteArray() - Method in class io.joshworks.snappy.maven.tools.DefaultLaunchScript
- toByteArray() - Method in interface io.joshworks.snappy.maven.tools.LaunchScript
-
The content of the launch script as a byte array.
- toString() - Method in class io.joshworks.snappy.maven.tools.JavaExecutable
- toString() - Method in interface io.joshworks.snappy.maven.tools.LibraryScope
V
- valueOf(String) - Static method in enum io.joshworks.snappy.maven.RepackageMojo.LayoutType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.joshworks.snappy.maven.RepackageMojo.LayoutType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- War() - Constructor for class io.joshworks.snappy.maven.tools.Layouts.War
- WAR - io.joshworks.snappy.maven.RepackageMojo.LayoutType
-
War Layout.
- writeEntries(JarFile) - Method in class io.joshworks.snappy.maven.tools.JarWriter
-
Write all entries from the specified jar file.
- writeEntry(String, InputStream) - Method in class io.joshworks.snappy.maven.tools.JarWriter
-
Writes an entry.
- writeLoaderClasses() - Method in class io.joshworks.snappy.maven.tools.JarWriter
-
Write the required spring-boot-loader classes to the JAR.
- writeManifest(Manifest) - Method in class io.joshworks.snappy.maven.tools.JarWriter
-
Write the specified manifest.
- writeNestedLibrary(String, Library) - Method in class io.joshworks.snappy.maven.tools.JarWriter
-
Write a nested library.
Z
- ZIP - io.joshworks.snappy.maven.RepackageMojo.LayoutType
-
Zip Layout.
All Classes All Packages