Package io.gem.api

Class ConnectionConfig

java.lang.Object
io.gem.api.ConnectionConfig

public final class ConnectionConfig extends Object
Immutable SSH connection configuration used by SBK-GEM.

Holds the remote host, credentials, SSH port, and a working directory where SBK binaries and artifacts will be placed/executed on the remote node.

  • Constructor Details

    • ConnectionConfig

      public ConnectionConfig(String host, String userName, String password, int port, String dir)
      Create a connection configuration.
      Parameters:
      host - remote host name or IP
      userName - SSH user name
      password - SSH password (may be empty if key auth is used upstream)
      port - SSH port
      dir - remote working directory (e.g., target SBK path)