org.crsh.command
Class InvokeCommandClosure

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

public class InvokeCommandClosure
extends groovy.lang.Closure

See Also:
Serialized Form

Field Summary
private  ShellCommand command
          .
 
Fields inherited from class groovy.lang.Closure
DELEGATE_FIRST, DELEGATE_ONLY, DONE, IDENTITY, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF
 
Constructor Summary
InvokeCommandClosure(Object owner, ShellCommand command)
           
 
Method Summary
 Object call(Object[] args)
           
 
Methods inherited from class groovy.lang.Closure
asWritable, 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, invokeMethod, setMetaClass
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

command

private final ShellCommand command
.

Constructor Detail

InvokeCommandClosure

public InvokeCommandClosure(Object owner,
                            ShellCommand command)
Method Detail

call

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


Copyright © 2014 eXo Platform SAS. All Rights Reserved.