public static class AeshExample.PromptCommand extends java.lang.Object implements Command
| Modifier and Type | Field and Description |
|---|---|
private boolean |
bar |
private Shell |
shell |
| Constructor and Description |
|---|
PromptCommand() |
| Modifier and Type | Method and Description |
|---|---|
CommandResult |
execute(CommandInvocation commandInvocation)
Will be executed when this command is triggered by the command line.
|
void |
processOperation(CommandOperation operation) |
private boolean bar
private Shell shell
public CommandResult execute(CommandInvocation commandInvocation) throws java.io.IOException, java.lang.InterruptedException
Commandpublic void processOperation(CommandOperation operation) throws java.io.IOException
java.io.IOException