| Modifier and Type | Field and Description |
|---|---|
static String |
LOCATION |
static String |
PIPE_EXCEPTION |
| Constructor and Description |
|---|
Closure(CommandSessionImpl session,
Closure parent,
CharSequence source) |
Closure(CommandSessionImpl session,
Closure parent,
Parser.Program program) |
| Modifier and Type | Method and Description |
|---|---|
Path |
currentDir() |
Object |
eval(Token t) |
Object |
eval(Token t,
boolean convertNumeric) |
Object |
execute(CommandSession x,
List<Object> values)
Execute this function and return the result.
|
Object |
execute(CommandSession x,
List<Object> values,
Channel capturingOutput) |
Object |
execute(Parser.Executable executable) |
Object |
executeStatement(Parser.Statement statement) |
Object |
expr(Token expr) |
Object |
get(String name) |
protected boolean |
isSet(String name,
boolean def) |
Object |
put(String key,
Object value) |
CommandSessionImpl |
session() |
String |
toString() |
public static final String LOCATION
public static final String PIPE_EXCEPTION
public Closure(CommandSessionImpl session, Closure parent, CharSequence source) throws Exception
Exceptionpublic Closure(CommandSessionImpl session, Closure parent, Parser.Program program)
public CommandSessionImpl session()
public Object execute(CommandSession x, List<Object> values) throws Exception
Functionpublic Object execute(CommandSession x, List<Object> values, Channel capturingOutput) throws Exception
Exceptionpublic Object execute(Parser.Executable executable) throws Exception
Exceptionpublic Object executeStatement(Parser.Statement statement) throws Exception
Exceptionpublic Path currentDir()
currentDir in interface Evaluateprotected boolean isSet(String name, boolean def)
Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.