|
||||||||||
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.command.CommandClosure
class CommandClosure
Field Summary | |
---|---|
private CommandDispatcher |
dispatcher
. |
private String |
name
. |
Fields inherited from class groovy.lang.Closure |
---|
DELEGATE_FIRST, DELEGATE_ONLY, DONE, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF |
Constructor Summary | |
---|---|
CommandClosure(CommandDispatcher dispatcher,
String name)
|
Method Summary | |
---|---|
Object |
call(Object[] args)
|
Methods inherited from class groovy.lang.Closure |
---|
asWritable, call, call, clone, curry, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, ncurry, rcurry, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException |
Methods inherited from class groovy.lang.GroovyObjectSupport |
---|
getMetaClass, invokeMethod, setMetaClass |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final CommandDispatcher dispatcher
private final String name
Constructor Detail |
---|
CommandClosure(CommandDispatcher dispatcher, String name)
Method Detail |
---|
public Object call(Object[] args)
call
in class groovy.lang.Closure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |