org.globus.cog.abstraction.impl.execution.ssh
Class Exec
java.lang.Object
org.globus.cog.abstraction.impl.execution.ssh.Ssh
org.globus.cog.abstraction.impl.execution.ssh.Exec
public class Exec
- extends Ssh
Fields inherited from class org.globus.cog.abstraction.impl.execution.ssh.Ssh |
always, cipher, error, fingerprint, host, keyfile, logfile, mac, output, passphrase, password, port, ssh, sshtoolsHome, username, verifyhost |
Constructor Summary |
Exec()
|
Methods inherited from class org.globus.cog.abstraction.impl.execution.ssh.Ssh |
getError, getOutput, setAlways, setCipher, setError, setHost, setKeyfile, setLogfile, setMac, setOutput, setPassphrase, setPassword, setPort, setSshtoolshome, setUsername, setVerifyhost |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Exec
public Exec()
setCmd
public void setCmd(String cmd)
getCmd
public String getCmd()
getDir
public String getDir()
setDir
public void setDir(String string)
execute
public void execute()
throws IllegalSpecException,
InvalidSecurityContextException,
InvalidServiceContactException,
TaskSubmissionException,
JobException
- Overrides:
execute
in class Ssh
- Throws:
IllegalSpecException
InvalidSecurityContextException
InvalidServiceContactException
TaskSubmissionException
JobException
executeCommand
public void executeCommand(com.sshtools.j2ssh.session.SessionChannelClient session)
throws TaskSubmissionException,
JobException
- Throws:
TaskSubmissionException
JobException
getTaskOutput
public String getTaskOutput()
getTaskError
public String getTaskError()
getErrFile
public String getErrFile()
setErrFile
public void setErrFile(String errFile)
getErrMem
public boolean getErrMem()
setErrMem
public void setErrMem(boolean errMem)
getOutFile
public String getOutFile()
setOutFile
public void setOutFile(String outFile)
getOutMem
public boolean getOutMem()
setOutMem
public void setOutMem(boolean outMem)