Class JarCommand
java.lang.Object
org.springframework.boot.cli.command.AbstractCommand
org.springframework.boot.cli.command.OptionParsingCommand
org.springframework.boot.cli.command.archive.JarCommand
- All Implemented Interfaces:
Command
Command
to create a self-contained executable jar file from a CLI application.- Since:
- 1.3.0
- Author:
- Andy Wilkinson, Phillip Webb
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.boot.cli.command.OptionParsingCommand
getHandler, getHelp, getOptionsHelp, run
Methods inherited from class org.springframework.boot.cli.command.AbstractCommand
getDescription, getExamples, getName
-
Constructor Details
-
JarCommand
public JarCommand()
-
-
Method Details
-
getUsageHelp
Description copied from interface:Command
Returns usage help for the command. This should be a simple one-line string describing basic usage. e.g. '[options] <file>'. Do not include the name of the command in this string.- Specified by:
getUsageHelp
in interfaceCommand
- Overrides:
getUsageHelp
in classAbstractCommand
- Returns:
- the command's usage help
-