Class Ssh.Shell

    • Constructor Detail

      • Shell

        public Shell()
    • Method Detail

      • execute

        public void execute​(SshClient ssh)
                     throws org.apache.tools.ant.BuildException
        Overrides:
        execute in class SshSubTask
        Throws:
        org.apache.tools.ant.BuildException
      • validate

        protected void validate()
                         throws org.apache.tools.ant.BuildException
        Throws:
        org.apache.tools.ant.BuildException
      • allocatePseudoTerminal

        protected void allocatePseudoTerminal​(SessionChannelClient session)
                                       throws org.apache.tools.ant.BuildException
        Throws:
        org.apache.tools.ant.BuildException
      • performTasks

        protected void performTasks​(SessionChannelClient session)
                             throws org.apache.tools.ant.BuildException
        Throws:
        org.apache.tools.ant.BuildException
      • setTerm

        public void setTerm​(java.lang.String term)
      • setCols

        public void setCols​(int cols)
      • setRows

        public void setRows​(int rows)
      • getTerm

        public java.lang.String getTerm()
        PseduoTermainal interface
        Specified by:
        getTerm in interface PseudoTerminal
        Returns:
      • createWrite

        public Ssh.Shell.Write createWrite()
        Reading/Writing to the session/command