|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgroovy.lang.GroovyObjectSupport
groovy.lang.Closure
org.crsh.lang.groovy.command.CommandClosure
public class CommandClosure
| Field Summary | |
|---|---|
protected ArrayList<Object> |
args
. |
protected HashMap<String,Object> |
options
. |
| Fields inherited from class groovy.lang.Closure |
|---|
DELEGATE_FIRST, DELEGATE_ONLY, DONE, IDENTITY, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF |
| Constructor Summary | |
|---|---|
CommandClosure(Object owner)
|
|
| Method Summary | |
|---|---|
Object |
invokeMethod(String name,
Object args)
|
private CommandClosure |
options(Map<?,?> options,
Object[] arguments)
|
(package private) static Object[] |
unwrapArgs(Object arguments)
|
| Methods inherited from class groovy.lang.Closure |
|---|
asWritable, call, call, call, clone, curry, curry, dehydrate, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, leftShift, leftShift, memoize, memoizeAtLeast, memoizeAtMost, memoizeBetween, ncurry, ncurry, rcurry, rcurry, rehydrate, rightShift, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException, trampoline, trampoline |
| Methods inherited from class groovy.lang.GroovyObjectSupport |
|---|
getMetaClass, setMetaClass |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected HashMap<String,Object> options
protected ArrayList<Object> args
| Constructor Detail |
|---|
public CommandClosure(Object owner)
| Method Detail |
|---|
static Object[] unwrapArgs(Object arguments)
public Object invokeMethod(String name,
Object args)
invokeMethod in interface groovy.lang.GroovyObjectinvokeMethod in class groovy.lang.GroovyObjectSupport
private CommandClosure options(Map<?,?> options,
Object[] arguments)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||