To configure the extension point element:
Field | Value |
---|---|
name | The function's name (for example, "formatDate"). |
displayName | The name under which the function appears in the Functions menu (for example, "Format Date"). To place the function under a specific submenu, prefix the display name with the name of the submenu and a forward slash (/) character. For example, "Custom/Format Date" would place the function under a "Custom" submenu. Any number of submenus is permitted by using the same naming format. |
syntax | The syntax of the function [for example, "formatDate(date, inputFormat [, outputFormat])"]. |
functionClass | The class that performs the function’s work. This class must be a fully qualified class name that extends from com.ghc.ghTester.expressions.Function. You can enter the name manually or search for it using the Browse button. Which is the com.samples.function.FormatDate class. |
minParameters | The minimum number of parameters to pass to the function (for example, "2"). |
maxParameters | The maximum number of parameters to pass to the function (for example, "3"). Entering "-1" indicates that there is no maximum and any number of arguments that is greater than or equal to minParameters are accepted |