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 newHelpExample
instance.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
String
getExample()
Constructor Detail
HelpExample
public HelpExample(String description, String example)
Create a newHelpExample
instance.- Parameters:
description
- the description (in the form "to ....")example
- the example
Method Detail
getDescription
public String getDescription()
getExample
public String getExample()