org.jboss.forge.shell.spi
Interface CommandInterceptor
public interface CommandInterceptor
Allows the shell input stream to be intercepted, modified, or observed by extensions.
- Author:
- Lincoln Baxter, III
|
Method Summary |
String |
intercept(String line)
Intercepts a command and returns it along with any modifications. |
intercept
String intercept(String line)
- Intercepts a command and returns it along with any modifications. The returned value will be passed to the Shell
for invocation. If the returned value is null, the shell simply ignores this line and waits for the next input.
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.