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
Command
execute
in interface Command
commandInvocation
- invocationIOException
InterruptedException
public void processOperation(CommandOperation operation) throws IOException
IOException
Copyright © 2022 JBoss by Red Hat. All rights reserved.