|
||||||||||
| 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.CommandDispatcher
final class CommandDispatcher
| Field Summary | |
|---|---|
(package private) ShellCommand |
command
. |
(package private) InvocationContext |
ic
. |
| Fields inherited from class groovy.lang.Closure |
|---|
DELEGATE_FIRST, DELEGATE_ONLY, DONE, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF |
| Constructor Summary | |
|---|---|
CommandDispatcher(ShellCommand command,
InvocationContext ic)
|
|
| Method Summary | |
|---|---|
Object |
call(Object[] arguments)
Closure invocation. |
(package private) Object |
dispatch(String methodName,
Object arguments)
|
(package private) Object |
dispatch(String name,
Object[] args)
|
Object |
getProperty(String property)
|
Object |
invokeMethod(String name,
Object args)
|
| Methods inherited from class groovy.lang.Closure |
|---|
asWritable, call, call, clone, curry, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getResolveStrategy, getThisObject, isCase, ncurry, rcurry, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException |
| 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 |
|---|
final InvocationContext ic
final ShellCommand command
| Constructor Detail |
|---|
CommandDispatcher(ShellCommand command,
InvocationContext ic)
| Method Detail |
|---|
public Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class groovy.lang.Closure
public Object invokeMethod(String name,
Object args)
invokeMethod in interface groovy.lang.GroovyObjectinvokeMethod in class groovy.lang.GroovyObjectSupportpublic Object call(Object[] arguments)
call in class groovy.lang.Closurearguments - the closure arguments
Object dispatch(String methodName,
Object arguments)
Object dispatch(String name,
Object[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||