public class PipeLineClosure extends groovy.lang.Closure
| Modifier and Type | Field and Description |
|---|---|
private InvocationContext<Object> |
context
.
|
private PipeLineElement[] |
elements
.
|
private static Object[] |
EMPTY_ARGS
.
|
| Constructor and Description |
|---|
PipeLineClosure(InvocationContext<Object> context,
PipeLineElement[] elements) |
PipeLineClosure(InvocationContext<Object> context,
String name,
Command<?> command) |
| Modifier and Type | Method and Description |
|---|---|
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) |
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, trampolineprivate static final Object[] EMPTY_ARGS
private final InvocationContext<Object> context
private PipeLineElement[] elements
public PipeLineClosure(InvocationContext<Object> context, String name, Command<?> command)
public PipeLineClosure(InvocationContext<Object> context, PipeLineElement[] elements)
private PipeLineClosure _sub(String name)
public Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class groovy.lang.Closurepublic Object invokeMethod(String name, Object args)
invokeMethod in interface groovy.lang.GroovyObjectinvokeMethod in class groovy.lang.GroovyObjectSupportprivate static Object[] unwrapArgs(Object arguments)
private PipeLineClosure options(Map<String,?> options, Object[] arguments)
public PipeLineClosure bind(InvocationContext<Object> context)
public PipeLineInvoker bind(Object args)
public PipeLineInvoker bind(Object[] args)
LinkedList<CommandInvoker> resolve2(Object[] args) throws CommandException
CommandExceptionCopyright © 2015 eXo Platform SAS. All Rights Reserved.