public final class ChoiceClosure
extends groovy.lang.Closure<java.lang.Void>
| Modifier and Type | Field and Description |
|---|---|
private groovy.lang.Closure<java.lang.Integer> |
code |
| Constructor and Description |
|---|
ChoiceClosure(groovy.lang.Closure<java.lang.Integer> code) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Void |
call() |
java.lang.Void |
call(java.lang.Object... args) |
java.lang.Void |
call(java.lang.Object arguments) |
int |
getMaximumNumberOfParameters() |
java.lang.Class[] |
getParameterTypes() |
void |
setDelegate(java.lang.Object delegate) |
void |
setResolveStrategy(int resolveStrategy) |
asWritable, clone, curry, curry, dehydrate, getDelegate, getDirective, getOwner, getProperty, getResolveStrategy, getThisObject, isCase, leftShift, leftShift, memoize, memoizeAtLeast, memoizeAtMost, memoizeBetween, ncurry, ncurry, rcurry, rcurry, rehydrate, rightShift, run, setDirective, setProperty, throwRuntimeException, trampoline, trampolinepublic int getMaximumNumberOfParameters()
getMaximumNumberOfParameters in class groovy.lang.Closure<java.lang.Void>public java.lang.Class[] getParameterTypes()
getParameterTypes in class groovy.lang.Closure<java.lang.Void>public void setDelegate(java.lang.Object delegate)
setDelegate in class groovy.lang.Closure<java.lang.Void>public void setResolveStrategy(int resolveStrategy)
setResolveStrategy in class groovy.lang.Closure<java.lang.Void>public java.lang.Void call(java.lang.Object arguments)
call in class groovy.lang.Closure<java.lang.Void>public java.lang.Void call(java.lang.Object... args)
call in class groovy.lang.Closure<java.lang.Void>public java.lang.Void call()
call in interface java.util.concurrent.Callable<java.lang.Void>call in class groovy.lang.Closure<java.lang.Void>