org.osgi.service.command
Interface Function
public interface Function
A Function is a a block of code that can be executed with a set of arguments,
it returns the result object of executing the script.
TODO The javadoc in this class need a good scrub before release.
- Version:
- $Revision: 5654 $
- ThreadSafe
Method Summary |
java.lang.Object |
execute(CommandSession session,
java.util.List arguments)
Execute this function and return the result. |
execute
java.lang.Object execute(CommandSession session,
java.util.List arguments)
throws java.lang.Exception
- Execute this function and return the result.
- Parameters:
session
- ###arguments
- ###
- Returns:
- the result from the execution.
- Throws:
java.lang.Exception
- if anything goes terribly wrong