Groovy Documentation

org.hidetake.gradle.ssh.api
[Groovy] Class SshSettings

java.lang.Object
  org.hidetake.gradle.ssh.api.SshSettings

class SshSettings

Global SSH settings.

Authors:
hidetake.org


Property Summary
static java.lang.Object DEFAULT

Default settings.

static java.lang.Object allowAnyHosts

java.lang.Boolean dryRun

Dry-run flag.

java.lang.String encoding

Encoding of input and output stream.

LogLevel errorLogLevel

Log level for standard error of commands.

java.io.File identity

Identity key file for public-key authentication.

java.io.File knownHosts

Known hosts file.

LogLevel outputLogLevel

Log level for standard output of commands.

java.lang.String passphrase

Pass-phrase for the identity key.

java.lang.Integer retryCount

Retry count for connecting to a host.

java.lang.Integer retryWaitSec

Interval time in seconds between retries.

 
Method Summary
SshSettings plus(SshSettings right)

Compute a merged settings.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

DEFAULT

static final java.lang.Object DEFAULT
Default settings.


allowAnyHosts

static final java.lang.Object allowAnyHosts


dryRun

java.lang.Boolean dryRun
Dry-run flag. If true, performs no action.


encoding

java.lang.String encoding
Encoding of input and output stream.


errorLogLevel

LogLevel errorLogLevel
Log level for standard error of commands.


identity

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


knownHosts

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


outputLogLevel

LogLevel outputLogLevel
Log level for standard output of commands.


passphrase

java.lang.String passphrase
Pass-phrase for the identity key. 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.


 
Method Detail

plus

SshSettings plus(SshSettings right)
Compute a merged settings. Properties of the right side overrides those of this object.
Parameters:
right
Returns:
a merged one (right side is higher priority)


 

Groovy Documentation