All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.gem.api.ConnectionConfig Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (c) KMG. All Rights Reserved..
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 */

package io.gem.api;

import lombok.Getter;
import lombok.extern.slf4j.Slf4j;

/**
 * Class SshConnection.
 */
@Slf4j
public final class ConnectionConfig {

    @Getter
    private final String host;

    @Getter
    private final String userName;

    @Getter
    private final String password;

    @Getter
    private final int port;

    @Getter
    private final String dir;

    /**
     * This Constructor is responsible for initializing all values.
     *
     * @param host          String
     * @param userName      String
     * @param password      String
     * @param port          int
     * @param dir           String
     */
    public ConnectionConfig(String host, String userName, String password, int port, String dir) {
        this.host = host;
        this.userName = userName;
        this.password = password;
        this.port = port;
        this.dir = dir;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy