Groovy Documentation

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

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

@TupleConstructor
class Remote

Represents a remote host.

Authors:
hidetake.org


Property Summary
ConnectionSettings connectionSettings

Remote gateway

Gateway host.

java.lang.String host

Remote host.

java.lang.String name

Name of this instance.

int port

Port.

java.lang.Object roles

Roles.

 
Method Summary
void role(java.lang.String role)

Add a role to this remote.

java.lang.String toString()

Returns a string representation of this remote host.

 
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

connectionSettings

@Delegate
ConnectionSettings connectionSettings


gateway

Remote gateway
Gateway host. This may be null.


host

java.lang.String host
Remote host.


name

final java.lang.String name
Name of this instance.


port

int port
Port.


roles

final java.lang.Object roles
Roles.


 
Method Detail

role

void role(java.lang.String role)
Add a role to this remote.
Parameters:
role


toString

@Override
java.lang.String toString()
Returns a string representation of this remote host.


 

Groovy Documentation