@ShellComponent public class DemoCommand extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DemoCommand.Pojo |
| Constructor and Description |
|---|
DemoCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
echo(String message,
PromptColor color)
Echo command
|
DemoCommand.Pojo |
pojo() |
@ShellMethod(value="Echo command") public String echo(String message, @ShellOption(defaultValue="__NULL__") PromptColor color)
message - message to printcolor - color for the message@ShellMethod(value="Pojo command") public DemoCommand.Pojo pojo()
Copyright © 2018. All rights reserved.