Package com.cloudbees.groovy.cps.impl
Class CpsBooleanClosureWrapper
java.lang.Object
com.cloudbees.groovy.cps.impl.CpsBooleanClosureWrapper
- All Implemented Interfaces:
Serializable
A serializable equivalent of
BooleanClosureWrapper, where the
BooleanReturningMethodInvoker is instantiated when call(Object...) is called to avoid serialization
issues with that as well.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleannormal closure call<K,V> boolean callForMap(Map.Entry<K, V> entry) Bridge for a call based on a map entry.
-
Constructor Details
-
CpsBooleanClosureWrapper
public CpsBooleanClosureWrapper(groovy.lang.Closure wrapped)
-
-
Method Details
-
call
normal closure call -
callForMap
Bridge for a call based on a map entry. If the call is done on aClosuretaking one argument, then we give in theMap.Entry, otherwise we will give in the key and value.
-