public class RestCommandHandlerDocumentationGenerator extends Object
RestCommandHandlerDocumentationGenerator is a utility class that produces JSON-based
documentation for CommandHandlers.| Constructor and Description |
|---|
RestCommandHandlerDocumentationGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static RestCommandHandlerDocumentation |
generateDocumentation(CommandHandler commandHandler)
Generates REST friendly documentation for the provided
commandHandler. |
public RestCommandHandlerDocumentationGenerator()
public static RestCommandHandlerDocumentation generateDocumentation(CommandHandler commandHandler) throws Exception
commandHandler.commandHandler - CommandHandler to generate documentation for.commandHandler.Exception - If anything goes wrong with generating command handler documentation.Copyright © 2018. All rights reserved.