Class EmbeddedFunctionPackageImporter


  • public class EmbeddedFunctionPackageImporter
    extends java.lang.Object
    This class aims to import a set of FunctionPackage from the file system
    • Method Detail

      • importEmbeddedFunctionPackages

        public java.util.List<java.lang.String> importEmbeddedFunctionPackages​(@NotNull
                                                                               @NotNull java.lang.String packageFolder)
        Imports all the FunctionPackage from the specified folder. The import will search in the 2 following sub folders for FunctionPackage to be imported:
      • {packageFolder}/local/* FunctionPackage located in this folder will be imported as local function
      • {packageFolder}/remote/* FunctionPackage located in this folder will be imported as remote function
Parameters:
packageFolder - the folder containing the FunctionPackage to be imported
Returns:
the list of imported/updated FunctionPackage IDs