类 HelpExample
- java.lang.Object
- org.springframework.boot.cli.command.HelpExample
public class HelpExample extends Object
An example that can be displayed in the help.- 从以下版本开始:
- 1.2.0
构造器详细资料
HelpExample
public HelpExample(String description, String example)
Create a newHelpExample
instance.- 参数:
description
- the description (in the form "to ....")example
- the example
方法详细资料
getDescription
public String getDescription()
getExample
public String getExample()