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
Author:
Phillip Webb
  • Constructor Details

    • HelpExample

      public HelpExample(String description, String example)
      Create a new HelpExample instance.
      Parameters:
      description - the description (in the form "to ....")
      example - the example
  • Method Details

    • getDescription

      public String getDescription()
    • getExample

      public String getExample()