Class ConnectionProps

java.lang.Object
org.qubership.atp.mia.model.environment.ConnectionProps

public class ConnectionProps extends Object
  • Constructor Details

    • ConnectionProps

      public ConnectionProps(String hostname, Integer port, String username, String password, String key, String passphrase, boolean pty, int timeoutConnect, int timeoutExecute, long timeOutFileDownload, int channelsPerSession, String sshServerKexAlgorithms)
      Constructor with parameters.
  • Method Details

    • forSsh

      public static ConnectionProps forSsh(Server server)
      Create ConnectionProps for ssh.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fullInfo

      public String fullInfo()
      Gets full information about connection.
      Returns:
      full information about connection