接口 Function
-
- 所有已知实现类:
Closure
,CommandProxy
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.
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 java.lang.Object
execute(CommandSession session, java.util.List<java.lang.Object> arguments)
Execute this function and return the result.
-
-
-
方法详细资料
-
execute
java.lang.Object execute(CommandSession session, java.util.List<java.lang.Object> arguments) throws java.lang.Exception
Execute this function and return the result.- 返回:
- the result from the execution.
- 抛出:
java.lang.Exception
- if anything goes terribly wrong
-
-