Groovy Documentation

org.hidetake.gradle.ssh.api.operation
[Groovy] Interface Operations


interface Operations

Interface of operations.

Authors:
hidetake.org


Nested Class Summary
interface Operations.Factory

A factory of Operations.

 
Property Summary
java.lang.Object factory

 
Method Summary
java.lang.String execute(OperationSettings settings, java.lang.String command, groovy.lang.Closure callback)

void executeBackground(OperationSettings settings, java.lang.String command, groovy.lang.Closure callback)

Remote getRemote()

void sftp(groovy.lang.Closure closure)

Perform SFTP operations.

void shell(OperationSettings settings)

 

Property Detail

factory

final java.lang.Object factory


 
Method Detail

execute

java.lang.String execute(OperationSettings settings, java.lang.String command, groovy.lang.Closure callback)


executeBackground

void executeBackground(OperationSettings settings, java.lang.String command, groovy.lang.Closure callback)


getRemote

Remote getRemote()


sftp

void sftp(groovy.lang.Closure closure)
Perform SFTP operations.
Parameters:
closure - closure for SftpHandler


shell

void shell(OperationSettings settings)


 

Groovy Documentation