class SshInteractiveProcess extends java.lang.Object implements InteractiveProcess
InteractiveProcess
for local batch processes.Modifier and Type | Field and Description |
---|---|
private com.jcraft.jsch.ChannelExec |
channel |
private boolean |
done |
private static org.slf4j.Logger |
LOGGER |
private SshMultiplexedSession |
session |
private Streams |
streams |
Constructor and Description |
---|
SshInteractiveProcess(SshMultiplexedSession session,
Job job) |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
buildCommand(JobDescription description) |
private void |
cleanup() |
void |
destroy() |
int |
getExitStatus() |
Streams |
getStreams() |
boolean |
isDone() |
private static final org.slf4j.Logger LOGGER
private final SshMultiplexedSession session
private final com.jcraft.jsch.ChannelExec channel
private final Streams streams
private boolean done
SshInteractiveProcess(SshMultiplexedSession session, Job job) throws XenonException
XenonException
private static java.lang.String buildCommand(JobDescription description)
public Streams getStreams()
getStreams
in interface InteractiveProcess
private void cleanup()
public int getExitStatus()
getExitStatus
in interface Process