Groovy Documentation

org.hidetake.gradle.ssh.plugin.interaction
[Groovy] Interface InteractionHandler


interface InteractionHandler

Represents stream interaction with the server.

Authors:
hidetake.org


Property Summary
static java.lang.Object _

Wildcard for condition expression.

static java.lang.Object standardError

static java.lang.Object standardOutput

 
Method Summary
java.io.OutputStream getStandardInput()

Get the standard input for the remote command.

void when(java.util.Map condition, groovy.lang.Closure action)

Declare an interaction rule.

 

Property Detail

_

static final java.lang.Object _
Wildcard for condition expression.


standardError

static final java.lang.Object standardError


standardOutput

static final java.lang.Object standardOutput


 
Method Detail

getStandardInput

java.io.OutputStream getStandardInput()
Get the standard input for the remote command.
Returns:
output stream


when

void when(java.util.Map condition, groovy.lang.Closure action)
Declare an interaction rule.
Parameters:
condition - map of condition
action - the action performed if condition satisfied


 

Groovy Documentation