public class Closure extends Object implements org.apache.felix.service.command.Function, org.apache.felix.gogo.runtime.Evaluate
| Constructor and Description |
|---|
Closure(org.apache.felix.gogo.runtime.CommandSessionImpl session,
Closure parent,
CharSequence source) |
| Modifier and Type | Method and Description |
|---|---|
Object |
eval(org.apache.felix.gogo.runtime.Token t) |
Object |
execute(org.apache.felix.service.command.CommandSession x,
List<Object> values) |
Object |
executeStatement(List<org.apache.felix.gogo.runtime.Token> statement) |
Object |
get(String name) |
Object |
put(String key,
Object value) |
org.apache.felix.gogo.runtime.CommandSessionImpl |
session() |
String |
toString() |
public static final String LOCATION
public Closure(org.apache.felix.gogo.runtime.CommandSessionImpl session,
Closure parent,
CharSequence source)
throws Exception
Exceptionpublic org.apache.felix.gogo.runtime.CommandSessionImpl session()
public Object execute(org.apache.felix.service.command.CommandSession x, List<Object> values) throws Exception
execute in interface org.apache.felix.service.command.FunctionExceptionpublic Object eval(org.apache.felix.gogo.runtime.Token t) throws Exception
eval in interface org.apache.felix.gogo.runtime.EvaluateExceptionpublic Object executeStatement(List<org.apache.felix.gogo.runtime.Token> statement) throws Exception
Exceptionpublic Object get(String name)
get in interface org.apache.felix.gogo.runtime.Evaluatepublic Object put(String key, Object value)
put in interface org.apache.felix.gogo.runtime.EvaluateCopyright © 2007-2013 FuseSource, Corp.. All Rights Reserved.