org.crsh.command
Class CommandClosure

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovy.lang.Closure
          extended by org.crsh.command.CommandClosure
All Implemented Interfaces:
groovy.lang.GroovyObject, Serializable, Cloneable, Runnable

 class CommandClosure
extends groovy.lang.Closure

Author:
Julien Viet

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

dispatcher

private final CommandDispatcher dispatcher
.


name

private final String name
.

Constructor Detail

CommandClosure

CommandClosure(CommandDispatcher dispatcher,
               String name)
Method Detail

call

public Object call(Object[] args)
Overrides:
call in class groovy.lang.Closure


Copyright © 2012 eXo Platform SAS. All Rights Reserved.