public static class AeshExample.TestConsoleCommand extends Object implements Command
Constructor and Description |
---|
TestConsoleCommand() |
Modifier and Type | Method and Description |
---|---|
CommandResult |
execute(CommandInvocation commandInvocation)
Will be executed when this command is triggered by the command line.
|
void |
processOperation(CommandInvocation invocation) |
public CommandResult execute(CommandInvocation commandInvocation) throws IOException, InterruptedException
Command
execute
in interface Command
commandInvocation
- invocationIOException
InterruptedException
public void processOperation(CommandInvocation invocation) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.