com.friendshipsystems.fsshresourcemanager
Class FJob
java.lang.Object
com.friendshipsystems.fsshresourcemanager.utils.FDBObject
com.friendshipsystems.fsshresourcemanager.FJob
- All Implemented Interfaces:
- com.jcraft.jsch.UserInfo
public class FJob
- extends com.friendshipsystems.fsshresourcemanager.utils.FDBObject
- implements com.jcraft.jsch.UserInfo
This class represents an external process that should be started on a remote machine
using ssh. It includes an arbitrary number of FTasks, but only can be a
FProcessTask at the moment (should be changed later on).
- Author:
- FRIENDSHIP SYSTEMS
| Methods inherited from class com.friendshipsystems.fsshresourcemanager.utils.FDBObject |
delete, save, update |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getJobId
public java.lang.String getJobId()
getPassphrase
public java.lang.String getPassphrase()
- Specified by:
getPassphrase in interface com.jcraft.jsch.UserInfo
getPassword
public java.lang.String getPassword()
- Specified by:
getPassword in interface com.jcraft.jsch.UserInfo
- Returns:
- the password
promptPassphrase
public boolean promptPassphrase(java.lang.String arg0)
- Specified by:
promptPassphrase in interface com.jcraft.jsch.UserInfo
promptPassword
public boolean promptPassword(java.lang.String arg0)
- Specified by:
promptPassword in interface com.jcraft.jsch.UserInfo
promptYesNo
public boolean promptYesNo(java.lang.String arg0)
- Specified by:
promptYesNo in interface com.jcraft.jsch.UserInfo
needsAuth
public boolean needsAuth()
showMessage
public void showMessage(java.lang.String arg0)
- Specified by:
showMessage in interface com.jcraft.jsch.UserInfo
toMap
public java.util.Map<java.lang.String,java.lang.Object> toMap()
- Specified by:
toMap in class com.friendshipsystems.fsshresourcemanager.utils.FDBObject
getId
public int getId()
- Returns:
- the id
getAppInfo
public FApplicationInfo getAppInfo()
- Returns:
- the executionHost
getOwner
public java.lang.String getOwner()
- Returns:
- The name of the user that submitted this job.
getSubmitTime
public java.util.Date getSubmitTime()
- Returns:
- The time this job was received by the SshResourceManager i.e.
submitted by the FRIENDSHIP-Framework (+ transport time of course)
getSubmitter
public java.lang.String getSubmitter()
- Returns:
- the submitter
getExitStatus
public int getExitStatus()
getStartTime
public java.util.Date getStartTime()
- Returns:
- the startTime
getFinishTime
public java.util.Date getFinishTime()
- Returns:
- the finishTime
getFrameworkAddress
public java.lang.String getFrameworkAddress()
getDesignName
public java.lang.String getDesignName()
- Returns:
- the designName
getProjectName
public java.lang.String getProjectName()
- Returns:
- the projectName
getConnectionError
public FSshConnectionError getConnectionError()
- Returns:
- the connError
hadConnectionError
public boolean hadConnectionError()