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
- invocationIOException
InterruptedException
Copyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.