org.apache.felix.gogo.runtime
Class Closure
java.lang.Object
org.apache.felix.gogo.runtime.Closure
- All Implemented Interfaces:
- org.apache.felix.gogo.runtime.Evaluate, org.apache.felix.service.command.Function
public class Closure
- extends Object
- implements org.apache.felix.service.command.Function, org.apache.felix.gogo.runtime.Evaluate
LOCATION
public static final String LOCATION
- See Also:
- Constant Field Values
Closure
public Closure(org.apache.felix.gogo.runtime.CommandSessionImpl session,
Closure parent,
CharSequence source)
throws Exception
- Throws:
Exception
session
public org.apache.felix.gogo.runtime.CommandSessionImpl session()
execute
public Object execute(org.apache.felix.service.command.CommandSession x,
List<Object> values)
throws Exception
- Specified by:
execute in interface org.apache.felix.service.command.Function
- Throws:
Exception
eval
public Object eval(org.apache.felix.gogo.runtime.Token t)
throws Exception
- Specified by:
eval in interface org.apache.felix.gogo.runtime.Evaluate
- Throws:
Exception
executeStatement
public Object executeStatement(List<org.apache.felix.gogo.runtime.Token> statement)
throws Exception
- Throws:
Exception
get
public Object get(String name)
- Specified by:
get in interface org.apache.felix.gogo.runtime.Evaluate
put
public Object put(String key,
Object value)
- Specified by:
put in interface org.apache.felix.gogo.runtime.Evaluate
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.