Class RemoteConnectionStringInfo.MyNExecTargetCommandContext
java.lang.Object
net.thevpc.nuts.ext.ssh.RemoteConnectionStringInfo.MyNExecTargetCommandContext
- All Implemented Interfaces:
AutoCloseable, NExecTargetCommandContext
- Enclosing class:
RemoteConnectionStringInfo
public static class RemoteConnectionStringInfo.MyNExecTargetCommandContext
extends Object
implements NExecTargetCommandContext, AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionMyNExecTargetCommandContext(NExec ec, NExecTargetSPI commExec, NConnectionString target, String[] cmd, OutputStream out, OutputStream err) -
Method Summary
-
Constructor Details
-
MyNExecTargetCommandContext
public MyNExecTargetCommandContext(NExec ec, NExecTargetSPI commExec, NConnectionString target, String[] cmd, OutputStream out, OutputStream err)
-
-
Method Details
-
isRawCommand
public boolean isRawCommand()- Specified by:
isRawCommandin interfaceNExecTargetCommandContext
-
getConnectionString
- Specified by:
getConnectionStringin interfaceNExecTargetCommandContext
-
getCommand
- Specified by:
getCommandin interfaceNExecTargetCommandContext
-
in
- Specified by:
inin interfaceNExecTargetCommandContext
-
out
- Specified by:
outin interfaceNExecTargetCommandContext
-
err
- Specified by:
errin interfaceNExecTargetCommandContext
-
getExecCommand
- Specified by:
getExecCommandin interfaceNExecTargetCommandContext
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-