S
- the script interfaceR
- the result of the scriptpublic interface ScriptMethodProxy<S,R>
Modifier and Type | Method and Description |
---|---|
default boolean |
checkDeclaredArguments(java.lang.String methodName)
Check if there is a method in the script which are consistent with a specification.
|
boolean |
checkDeclaredArguments(java.lang.String methodName,
java.lang.Class<?>... args)
Check if there is a method in the script which is consistent with a specification.
|
default R |
executeMethod()
Execute the method with no arguments and return a result.
|
R |
executeMethod(java.lang.Object... args)
Execute the method and return a result.
|
ScriptWrapper<S> |
getScriptWrapper()
Return the ScriptWrapper.
|
ScriptWrapper<S> getScriptWrapper()
default boolean checkDeclaredArguments(java.lang.String methodName)
methodName
- the method nameboolean checkDeclaredArguments(java.lang.String methodName, java.lang.Class<?>... args)
methodName
- the method nameargs
- the arguments typesdefault R executeMethod()
R executeMethod(java.lang.Object... args)
args
- the argumentsCopyright © 2019-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence