A JavaTM Function definition is used to execute a Java method and return a result. It can optionally have parameters to the Java method. Java Functions are meant to be used to call user-defined Java code that has been deployed to the Foglight® server.
Using the editor, these attributes can be specified:
• |
The name of the method to invoke. The method must be public, static, have one parameter of type FunctionHelper and not return void. |
This is the signature of the method for the Check Permission Java Function definition available in the Dashboard Support > Common module:
Using the editor, these attributes can be specified:
One map entry having a null key is allowed. To specify a null key, simply do not set the map key.
An example of a Script Function:
Using the editor, these attributes can be specified:
An example of a Script with Map Function:
© ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center