public interface Invocable
Modifier and Type | Method and Description |
---|---|
boolean |
canInvoke(java.lang.String functionName,
java.lang.Object[] args)
whether the function can be invoke with the arguments
|
InvocableFunction |
getFunction(java.lang.String functionName,
java.lang.Object[] args)
Get the function
|
java.lang.Object |
invoke(java.lang.String functionName,
java.lang.Object[] args)
invoke the function with the arguments provided
|
boolean canInvoke(java.lang.String functionName, java.lang.Object[] args)
functionName
- the function nameargs
- the argumentsInvocableFunction getFunction(java.lang.String functionName, java.lang.Object[] args)
functionName
- the function nameargs
- the argumentsjava.lang.Object invoke(java.lang.String functionName, java.lang.Object[] args) throws java.lang.Exception
functionName
- the function nameargs
- the argumentsjava.lang.Exception
- if there's problem invoking the function