Groovy Documentation

org.hidetake.gradle.ssh.internal.interaction
[Groovy] Class InteractionRule

java.lang.Object
  org.hidetake.gradle.ssh.internal.interaction.InteractionRule

@Immutable
class InteractionRule

A rule of interaction with the stream.

Authors:
hidetake.org


Property Summary
groovy.lang.Closure action

An action closure.

java.util.Map condition

A map of condition.

groovy.lang.Closure matcher

A closure of matcher.

 
Method Summary
java.lang.String toString()

 
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

action

final groovy.lang.Closure action
An action closure. This closure will be called with a matched string when condition is satisfied.


condition

final java.util.Map condition
A map of condition.


matcher

final groovy.lang.Closure matcher
A closure of matcher. This closure will be called with arguments: and should return boolean whether condition is satisfied.


 
Method Detail

toString

java.lang.String toString()


 

Groovy Documentation