I have a requirement to find a file (**. Exe file) in the entire file system and get its path. I searched in an accessible code gallery and did not find anything similar to this requirement. Can I add a custom java method to a script section? Something similar to a recursive search can be implemented. If so, how to add a custom method to the "run a script" action?
You cannot add methods to scripts, but you can add methods to static code (Custom Code and Resources → Change Code). Methods defined in static code can be used in all scenarios.
Source: https://habr.com/ru/post/1617692/More articles:Невозможно присвоить значение типа Node для ввода Node <_>? - genericsRecursive Iteration Method for Binary Search Tree - recursionTextarea scrollpane hold in a text application - javafxHide internal APIs and methods in aar - androidConverting row data to columns in SQL Server - sqlChanging phoenix endpoint url node at runtime - elixirHow to group documents by month in mongodb? - mongodbИзменение размера Infragistics UltraGrid идеально подходит для его содержимого - c#Cannot execute telnet commands using php shell_exec () - phpPHP command line interaction - phpAll Articles