FlexNet Code Insight 6.13.2
There may be cases where complex “custom” logic is required to filter the Detector file tree to only the desired files. A custom, Groovy script-based filtering option is available as an add-on to FlexNet Code Insight.
The Detector Script menu contains a Favorite Filters option that lists all of the Groovy scripts that reside on the client system. The custom filter Groovy scripts should be placed in the following directory:
<USER_HOME>/.palamida/config/detector/custom_filters
Theses Groovy script filters can implement any desired combination of criteria used to filter the list of files in the Detector file tree. The script is passed a list of existing file paths visible in the Detector file tree at the time of execution, and expects a list of file paths returned so that those files can be shown in the Detector file tree.
The Filter on Top of Existing Tree option allows the user to control whether the Detector file tree should show all files returned by the custom script filter, or only a subset from the files that are currently visible in the Detector file tree. This option allows sequential filters to be applied to continue filtering the tree until the desired files are remaining.
It is up to the custom script filter to invoke a Filter Options dialog if use-entered options are necessary.
After a custom filter is applied, use the Last Used Filter pull-down menu to reset the file tree to a previous filtered view. See Filtering Files by Last Filter Used for details.
FlexNet Code Insight 6.13.2 Online Help LibraryAugust 2019 |
Copyright Information | Flexera Software |