Class ScpJobRunner.RemoteJobRunner

    • Field Detail

      • m_Host

        protected BaseHostname m_Host
        the host that sent the jobs in the first place.
      • m_RemoteFile

        protected File m_RemoteFile
        the remote file to serialize the unexecuted jobs to.
      • m_Connection

        protected transient SSHConnection m_Connection
        the ssh connection to use.
    • Constructor Detail

      • RemoteJobRunner

        protected RemoteJobRunner()
    • Method Detail

      • setHost

        public void setHost​(BaseHostname value)
        Sets the host to connect to.
        Parameters:
        value - the host name/ip:port
      • getHost

        public BaseHostname getHost()
        Returns the host to connect to.
        Returns:
        the host name/ip:port
      • hostTipText

        public String hostTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getDefaultRemoteFile

        protected File getDefaultRemoteFile()
        Returns the default remote file.
        Returns:
        the remote file
      • setRemoteFile

        public void setRemoteFile​(File value)
        Sets the remote file for the executed jobs.
        Parameters:
        value - the remote file
      • getRemoteFile

        public File getRemoteFile()
        Returns the remote file for the executed jobs.
        Returns:
        the remote file
      • remoteFileTipText

        public String remoteFileTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • doStop

        protected String doStop()
        Performing actual stop.
        Specified by:
        doStop in class AbstractJobRunner
        Returns:
        null if successful, otherwise error message
      • doTerminate

        protected String doTerminate​(boolean wait)
        Performing actual terminate up.
        Specified by:
        doTerminate in class AbstractJobRunner
        Parameters:
        wait - whether to wait for the jobs to finish
        Returns:
        null if successful, otherwise error message
      • complete

        public void complete​(Job j,
                             JobResult jr)
        Ignored.
        Parameters:
        j - job
        jr - job result