public final class StreamHandler extends Object
| Constructor and Description |
|---|
StreamHandler(CommandContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeQuietly() |
void |
disableQuietly() |
CommandContext |
getContext() |
protected com.google.common.base.Optional<org.codehaus.plexus.util.cli.StreamFeeder> |
getInputFeeder(CommandContext context,
com.jcraft.jsch.ChannelExec exec) |
void |
openStreams(com.jcraft.jsch.ChannelExec exec,
String encoding) |
void |
startPumping() |
void |
validate() |
void |
waitUntilDone() |
public StreamHandler(CommandContext context)
public void openStreams(com.jcraft.jsch.ChannelExec exec, String encoding) throws IOException
IOExceptionpublic void startPumping()
public void waitUntilDone() throws InterruptedException
InterruptedExceptionpublic void validate() throws InterruptedException
InterruptedExceptionpublic void disableQuietly()
public void closeQuietly()
public CommandContext getContext()
protected com.google.common.base.Optional<org.codehaus.plexus.util.cli.StreamFeeder> getInputFeeder(CommandContext context, com.jcraft.jsch.ChannelExec exec) throws IOException
IOExceptionCopyright © 2010–2014 The Kuali Foundation. All rights reserved.