public class DefaultNExecCmdExtensionContext extends Object implements NExecCmdExtensionContext, Closeable
| Constructor and Description |
|---|
DefaultNExecCmdExtensionContext(String target,
String[] command,
NSession session,
NExecInput in,
NExecOutput out,
NExecOutput err,
NExecCmd execCommand) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
OutputStream |
err() |
String[] |
getCommand() |
NExecCmd |
getExecCommand() |
NSession |
getSession() |
String |
getTarget() |
InputStream |
in() |
OutputStream |
out() |
public DefaultNExecCmdExtensionContext(String target, String[] command, NSession session, NExecInput in, NExecOutput out, NExecOutput err, NExecCmd execCommand)
public InputStream in()
in in interface NExecCmdExtensionContextpublic OutputStream out()
out in interface NExecCmdExtensionContextpublic OutputStream err()
err in interface NExecCmdExtensionContextpublic String getTarget()
getTarget in interface NExecCmdExtensionContextpublic String[] getCommand()
getCommand in interface NExecCmdExtensionContextpublic NSession getSession()
getSession in interface NSessionProviderpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic NExecCmd getExecCommand()
getExecCommand in interface NExecCmdExtensionContextCopyright © 2025 vpc open source initiative. All rights reserved.