public class CpsBooleanClosureWrapper extends Object implements Serializable
BooleanClosureWrapper, where the
BooleanReturningMethodInvoker is instantiated when call(Object...) is called to avoid serialization
issues with that as well.| Constructor and Description |
|---|
CpsBooleanClosureWrapper(groovy.lang.Closure wrapped) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
call(Object... args)
normal closure call
|
<K,V> boolean |
callForMap(Map.Entry<K,V> entry)
Bridge for a call based on a map entry.
|
public CpsBooleanClosureWrapper(groovy.lang.Closure wrapped)
public boolean call(Object... args)
public <K,V> boolean callForMap(Map.Entry<K,V> entry)
Closure
taking one argument, then we give in the Map.Entry, otherwise we will
give in the key and value.Copyright © 2011–2019. All rights reserved.