类 VersionCommand
- java.lang.Object
- org.springframework.boot.cli.command.AbstractCommand
- org.springframework.boot.cli.command.core.VersionCommand
- 所有已实现的接口:
Command
public class VersionCommand extends AbstractCommand
Command
to display the 'version' number.
构造器概要
构造器 构造器 说明 VersionCommand()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ExitStatus
run(String... args)
Run the command.从类继承的方法 org.springframework.boot.cli.command.AbstractCommand
getDescription, getExamples, getHelp, getName, getOptionsHelp, getUsageHelp
构造器详细资料
VersionCommand
public VersionCommand()
方法详细资料
run
public ExitStatus run(String... args)
从接口复制的说明:Command
Run the command.- 参数:
args
- command arguments (this will not include the command itself)- 返回:
- the outcome of the command