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 CommandException, InterruptedException
commandInvocation
- invocationCommandException
- In case an exception occurs during executionInterruptedException
- In case the current thread is being
interrupted.Copyright © 2017 JBoss by Red Hat. All rights reserved.