Class HelpExample
- java.lang.Object
- org.springframework.boot.cli.command.HelpExample
public class HelpExample extends Object
An example that can be displayed in the help.- Since:
- 1.2.0
Constructor Summary
Constructors Constructor Description HelpExample(String description, String example)Create a newHelpExampleinstance.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetExample()
Constructor Detail
HelpExample
public HelpExample(String description, String example)
Create a newHelpExampleinstance.- Parameters:
description- The description (in the form "to ....")example- the example
Method Detail
getDescription
public String getDescription()
getExample
public String getExample()