/** * String representation of the ConnectionSpec */ @Override public String toString() { String specAsString; specAsString = "CleanupJournalOnComplete: [" + cleanupJournalOnComplete + "]\n" + "Client Id: [" + super.getClientID() + "]\n" + "Connection Timeout: [" + connectionTimeout + "]\n" + "Host: [" + remoteHostname + "]\n" + "Known hosts file name: [" + knownHostsFilename + "]\n" + "Maximum amount of retries: [" + maxRetryAttempts + "]\n" + "Port: [" + remotePort + "]\n" + "Poll time: [" + pollTime + "]\n" + "Private key file name: [" + privateKeyFilename + "]\n" + "Preferred authentication order: [" + this.preferredAuthentications + "]\n" + "Preferred key exchange algorithm: [" + this.preferredKeyExchangeAlgorithm + "]\n" + "Username: [" + username + "]"; return specAsString; } }
/** * String representation of the ConnectionRequestInfo */ @Override public String toString() { String requestInfoAsString; requestInfoAsString = "Cleanup jounral on complete: [" + cleanupJournalOnComplete + "]\n" + "Client Id: [" + super.getClientID() + "]\n" + "Connection Timeout: [" + connectionTimeout + "]\n" + "Remote Host: [" + remoteHostname + "]\n" + "Known hosts file name: [" + knownHostsFilename + "]\n" + "Maximum amount of retries: [" + maxRetryAttempts + "]\n" + "Remote Port: [" + remotePort + "]\n" + "Poll time: [" + pollTime + "]\n" + "Private key file name: [" + privateKeyFilename + "]\n" + "Preferred authentication order: [" + this.preferredAuthentications + "]\n" + "Preferred key exchange algorithm: [" + this.preferredKeyExchangeAlgorithm + "]\n" + "Username: [" + username + "]"; return requestInfoAsString; }
"Active FTP mode: [" + this.active + "]\n" + "CleanupJournalOnComplete: [" + this.cleanupJournalOnComplete + "]\n" + "Client Id: [" + super.getClientID() + "]\n" + "Remote Host: [" + this.remoteHostname + "]\n" + "Remote Port: [" + this.remotePort + "]\n"
"Active: [" + this.active + "]\n" + "Cleanup journal on complete: [" + this.cleanupJournalOnComplete + "]\n" + "Client Id: [" + super.getClientID() + "]\n" + "Remote Host: [" + this.remoteHostname + "]\n" + "Maximum amount of retries: [" + this.maxRetryAttempts + "]\n"