|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.lang.GroovyObjectSupport groovy.lang.Closure org.crsh.lang.impl.groovy.closure.PipeLineClosure
public class PipeLineClosure
Field Summary | |
---|---|
private InvocationContext<Object> |
context
. |
private PipeLineElement[] |
elements
. |
private static Object[] |
EMPTY_ARGS
. |
Fields inherited from class groovy.lang.Closure |
---|
DELEGATE_FIRST, DELEGATE_ONLY, DONE, IDENTITY, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF |
Constructor Summary | |
---|---|
PipeLineClosure(InvocationContext<Object> context,
PipeLineElement[] elements)
|
|
PipeLineClosure(InvocationContext<Object> context,
String name,
Command<?> command)
|
Method Summary | |
---|---|
private Object |
_gdk(String name,
Object[] args)
|
private PipeLineClosure |
_sub(String name)
|
PipeLineClosure |
bind(InvocationContext<Object> context)
|
PipeLineInvoker |
bind(Object args)
|
PipeLineInvoker |
bind(Object[] args)
|
Object |
call(Object... args)
|
Object |
find()
|
Object |
find(groovy.lang.Closure closure)
|
Object |
getProperty(String property)
|
Object |
invokeMethod(String name,
Object args)
|
private PipeLineClosure |
options(Map<String,?> options,
Object[] arguments)
|
Object |
or(Object t)
|
(package private) LinkedList<CommandInvoker> |
resolve2(Object[] args)
|
String |
toString()
|
private static Object[] |
unwrapArgs(Object arguments)
|
Methods inherited from class groovy.lang.Closure |
---|
asWritable, call, call, clone, curry, curry, dehydrate, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, 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, wait, wait, wait |
Field Detail |
---|
private static final Object[] EMPTY_ARGS
private final InvocationContext<Object> context
private PipeLineElement[] elements
Constructor Detail |
---|
public PipeLineClosure(InvocationContext<Object> context, String name, Command<?> command)
public PipeLineClosure(InvocationContext<Object> context, PipeLineElement[] elements)
Method Detail |
---|
public Object find()
public Object find(groovy.lang.Closure closure)
private Object _gdk(String name, Object[] args)
public Object or(Object t)
private PipeLineClosure _sub(String name)
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class groovy.lang.Closure
public Object invokeMethod(String name, Object args)
invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class groovy.lang.GroovyObjectSupport
private static Object[] unwrapArgs(Object arguments)
private PipeLineClosure options(Map<String,?> options, Object[] arguments)
public Object call(Object... args)
call
in class groovy.lang.Closure
public PipeLineClosure bind(InvocationContext<Object> context)
public PipeLineInvoker bind(Object args)
public PipeLineInvoker bind(Object[] args)
LinkedList<CommandInvoker> resolve2(Object[] args) throws CommandException
CommandException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |