public class HelpDocument extends Object
| Constructor and Description |
|---|
HelpDocument(MustacheTemplateRenderer templateRenderer) |
| Modifier and Type | Method and Description |
|---|---|
HelpDocument |
addSection(Section section) |
HelpDocument |
addSection(String templateName,
Map<String,Object> model)
Add a section rendered by the specified mustache template and model.
|
List<Section> |
getSections() |
GettingStartedSection |
gettingStarted() |
boolean |
isEmpty() |
PreDefinedSection |
nextSteps() |
void |
write(PrintWriter writer) |
public HelpDocument(MustacheTemplateRenderer templateRenderer)
public GettingStartedSection gettingStarted()
public PreDefinedSection nextSteps()
public HelpDocument addSection(Section section)
public HelpDocument addSection(String templateName, Map<String,Object> model)
templateName - the name of the mustache template to rendermodel - the model that should be used for the renderingpublic void write(PrintWriter writer) throws IOException
IOExceptionpublic boolean isEmpty()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.