public interface CommandLineRedirection
| Modifier and Type | Interface and Description |
|---|---|
static interface |
CommandLineRedirection.Registration
Represents registration of the command line redirection
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(CommandContext ctx)
As the user enters a new command line, the command line is parsed
and, if there were no parsing errors, this method is invoked.
|
void |
set(CommandLineRedirection.Registration registration)
This method is called when the instance is
registered to the command context.
|
void set(CommandLineRedirection.Registration registration)
registration - the registration objectvoid handle(CommandContext ctx) throws CommandLineException
ctx - current instance of CommandContextCommandLineException - in case something went wrongCopyright © 2018 JBoss by Red Hat. All rights reserved.