public static interface CommandLineRedirection.Registration
| Modifier and Type | Method and Description |
|---|---|
void |
handle(ParsedCommandLine parsedLine)
Allows to execute the parsed command line as it normally
would be executed w/o the redirection in effect.
|
boolean |
isActive()
Checks whether the registration is still active.
|
void |
unregister()
Redirection can be stopped by invoking this method.
|
boolean isActive()
void unregister()
throws CommandLineException
CommandLineException - in case unregistration failedvoid handle(ParsedCommandLine parsedLine) throws CommandLineException
parsedLine - the parsed command lineCommandLineException - in case the line failed to executeCopyright © 2018 JBoss by Red Hat. All rights reserved.