A handler of the interaction closure.
| Type | Name and description |
|---|---|
static java.lang.Object |
_Wildcard for condition expression. |
boolean |
popContext |
static java.lang.Object |
standardError |
java.io.OutputStream |
standardInputA standard input for the remote command. |
static java.lang.Object |
standardOutput |
java.util.List<Rule> |
when |
| Constructor and description |
|---|
InteractionHandler
(java.io.OutputStream standardInput1) |
| Type | Name and description |
|---|---|
void |
popContext()Pop context stack of Processor. |
void |
when(java.util.Map condition, groovy.lang.Closure action)Declare an interaction rule. |
| Methods inherited from class | Name |
|---|---|
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() |
Wildcard for condition expression.
A standard input for the remote command.
Pop context stack of Processor. This should not be used with when(java.util.Map, groovy.lang.Closure).
Declare an interaction rule.
condition - see StreamRule and BufferRule for detailsaction - closure called with result (java.lang.String, java.util.regex.Matcher or byte[]) when condition is satisfiedGroovy Documentation