public static class AeshExample.Child2 extends Object implements Command
Constructor and Description |
---|
Child2() |
Modifier and Type | Method and Description |
---|---|
CommandResult |
execute(CommandInvocation commandInvocation)
Will be executed when this command is triggered by the command line.
|
public CommandResult execute(CommandInvocation commandInvocation) throws CommandException, InterruptedException
Command
execute
in interface Command
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.