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() |
OutputStream |
err() |
String[] |
getCommand() |
NConnectionString |
getConnectionString() |
NExec |
getExecCommand() |
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 getConnectionString()
getConnectionString in interface NExecTargetCommandContextpublic String[] getCommand()
getCommand in interface NExecTargetCommandContextpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic NExec getExecCommand()
getExecCommand in interface NExecTargetCommandContextCopyright © 2026 vpc open source initiative. All rights reserved.