public interface Command<T extends CommandInvocation>
| Modifier and Type | Method and Description |
|---|---|
CommandResult |
execute(T commandInvocation)
Will be executed when this command is triggered by the command line.
|
CommandResult execute(T commandInvocation) throws IOException, InterruptedException
commandInvocation - invocationIOExceptionInterruptedExceptionCopyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.