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