类 JarCommand
- java.lang.Object
- org.springframework.boot.cli.command.AbstractCommand
- org.springframework.boot.cli.command.OptionParsingCommand
- org.springframework.boot.cli.command.archive.JarCommand
- 所有已实现的接口:
Command
public class JarCommand extends OptionParsingCommand
Command
to create a self-contained executable jar file from a CLI application.
构造器概要
构造器 构造器 说明 JarCommand()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 String
getUsageHelp()
Returns usage help for the command.从类继承的方法 org.springframework.boot.cli.command.OptionParsingCommand
getHandler, getHelp, getOptionsHelp, run
从类继承的方法 org.springframework.boot.cli.command.AbstractCommand
getDescription, getExamples, getName
构造器详细资料
JarCommand
public JarCommand()
方法详细资料
getUsageHelp
public String getUsageHelp()
从接口复制的说明: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.- 指定者:
getUsageHelp
在接口中Command
- 覆盖:
getUsageHelp
在类中AbstractCommand
- 返回:
- the command's usage help