public class DefaultNExecTargetCommandContext extends Object implements NExecTargetCommandContext, Closeable
| Constructor and Description |
|---|
DefaultNExecTargetCommandContext(NConnectionString connectionString,
String[] command,
NExecInput in,
NExecOutput out,
NExecOutput err,
NExec execCommand) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String[] |
command() |
NConnectionString |
connectionString() |
OutputStream |
err() |
NExec |
execCommand() |
InputStream |
in() |
boolean |
isRawCommand() |
OutputStream |
out() |
public DefaultNExecTargetCommandContext(NConnectionString connectionString, String[] command, NExecInput in, NExecOutput out, NExecOutput err, NExec execCommand)
public boolean isRawCommand()
isRawCommand in interface NExecTargetCommandContextpublic InputStream in()
in in interface NExecTargetCommandContextpublic OutputStream out()
out in interface NExecTargetCommandContextpublic OutputStream err()
err in interface NExecTargetCommandContextpublic NConnectionString connectionString()
connectionString in interface NExecTargetCommandContextpublic String[] command()
command in interface NExecTargetCommandContextpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic NExec execCommand()
execCommand in interface NExecTargetCommandContextCopyright © 2026 vpc open source initiative. All rights reserved.