Groovy Documentation

org.hidetake.gradle.ssh.plugin
[Groovy] Class ConnectionSettings

java.lang.Object
  org.hidetake.gradle.ssh.plugin.Settings
      org.hidetake.gradle.ssh.plugin.ConnectionSettings

@EqualsAndHashCode
@ToString(excludes = 'password, passphrase, allowAnyHosts')
class ConnectionSettings
extends Settings

Nested Class Summary
static class ConnectionSettings.Constants

 
Property Summary
static java.lang.Object DEFAULT

java.lang.Boolean agent

Use agent flag.

java.lang.Object allowAnyHosts

Represents that strict host key checking is turned off and any host is allowed.

java.io.File identity

Identity key file for public-key authentication.

java.io.File knownHosts

Known hosts file.

java.lang.String passphrase

Pass-phrase for the identity key.

java.lang.String password

Password.

java.net.Proxy proxy

Proxy configuration for connecting to a host.

java.lang.Integer retryCount

Retry count for connecting to a host.

java.lang.Integer retryWaitSec

Interval time in seconds between retries.

java.lang.String user

Remote user.

 
Method Summary
ConnectionSettings plus(ConnectionSettings right)

 
Methods inherited from class Settings
findNotNull, plus
 

Property Detail

DEFAULT

static final java.lang.Object DEFAULT


agent

java.lang.Boolean agent
Use agent flag. If true, Putty Agent or ssh-agent will be used to authenticate.


allowAnyHosts

final java.lang.Object allowAnyHosts
Represents that strict host key checking is turned off and any host is allowed.
See Also:
ConnectionSettings#knownHosts#knownHosts


identity

java.io.File identity
Identity key file for public-key authentication.


knownHosts

java.io.File knownHosts
Known hosts file. If allowAnyHosts is set, strict host key checking is turned off.


passphrase

java.lang.String passphrase
Pass-phrase for the identity key. This may be null.


password

java.lang.String password
Password. Leave as null if public key authentication.


proxy

java.net.Proxy proxy
Proxy configuration for connecting to a host. This may be null.


retryCount

java.lang.Integer retryCount
Retry count for connecting to a host.


retryWaitSec

java.lang.Integer retryWaitSec
Interval time in seconds between retries.


user

java.lang.String user
Remote user.


 
Method Detail

plus

ConnectionSettings plus(ConnectionSettings right)


 

Groovy Documentation