com.github.gun88.fitnesse.fixture.ssh.option.Options Maven / Gradle / Ivy
package com.github.gun88.fitnesse.fixture.ssh.option;
import com.github.gun88.fitnesse.plugin.ssh.SshClientPlugin;
import lombok.Getter;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
@Getter
public class Options {
private static final String PREFORMATTED = "PREFORMATTED";
private static final String IGNORE_CARRIAGE_RETURN = "IGNORE_CARRIAGE_RETURN";
private static final String SESSION_CLASS = "SESSION_CLASS";
private static final String OUTPUT_PROCESSOR_CLASS = "OUTPUT_PROCESSOR_CLASS";
private static final String KNOWN_HOSTS = "KNOWN_HOSTS";
private static final String PRIVATE_KEY = "PRIVATE_KEY";
private static final String PUBLIC_KEY = "PUBLIC_KEY";
private static final String PASSPHRASE = "PASSPHRASE";
private static final String TERMINAL_WIDTH = "TERMINAL_WIDTH";
private static final String CONNECTION_TIMEOUT = "CONNECTION_TIMEOUT";
private static final String REPLACE = "REPLACE";
private boolean preformatted = false;
private boolean ignoreCarriageReturn = false;
private String sessionClassName;
private String outputProcessorClassName;
private String knownHosts;
private String privateKey;
private String publicKey;
private String passphrase;
private int terminalWidth;
private int connectionTimeout;
private List replaceExpressions = new ArrayList<>();
private List