Class SoftwareUpdateInfo


  • public class SoftwareUpdateInfo
    extends java.lang.Object
    This class contains parameters required for the software update
    • Constructor Summary

      Constructors 
      Constructor Description
      SoftwareUpdateInfo()
      constructor
      SoftwareUpdateInfo​(java.lang.String hostName, java.lang.String userName, java.lang.String password)
      Overloaded constructor takes the hostname, username and password
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getHostName()
      Gets the host name
      java.lang.String getPassword()
      Gets the password
      java.lang.String getUserName()
      Gets the user name
      void setHostName​(java.lang.String m_sHostName)
      Sets the host name
      void setPassword​(java.lang.String password)
      Sets the password
      void setUserName​(java.lang.String userName)
      Sets the user name
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SoftwareUpdateInfo

        public SoftwareUpdateInfo()
        constructor
      • SoftwareUpdateInfo

        public SoftwareUpdateInfo​(java.lang.String hostName,
                                  java.lang.String userName,
                                  java.lang.String password)
        Overloaded constructor takes the hostname, username and password
        Parameters:
        hostName - Location from where update is to be done (FTP/FTPS/SCP)
        userName - Valid user name
        password - Valid password
    • Method Detail

      • getPassword

        public java.lang.String getPassword()
        Gets the password
      • setPassword

        public void setPassword​(java.lang.String password)
        Sets the password
      • getUserName

        public java.lang.String getUserName()
        Gets the user name
      • setUserName

        public void setUserName​(java.lang.String userName)
        Sets the user name
      • getHostName

        public java.lang.String getHostName()
        Gets the host name
        Returns:
      • setHostName

        public void setHostName​(java.lang.String m_sHostName)
        Sets the host name