public static class AeshExample.PromptCommand extends Object implements Command
| 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) |
public CommandResult execute(CommandInvocation commandInvocation) throws IOException, InterruptedException
Commandexecute in interface CommandcommandInvocation - invocationIOExceptionInterruptedExceptionpublic void processOperation(CommandOperation operation) throws IOException
IOExceptionCopyright © 2022 JBoss by Red Hat. All rights reserved.