Class RemoteFunctionPackageClientImpl

    • Constructor Detail

      • RemoteFunctionPackageClientImpl

        public RemoteFunctionPackageClientImpl()
      • RemoteFunctionPackageClientImpl

        public RemoteFunctionPackageClientImpl​(step.client.credentials.ControllerCredentials credentials)
    • Method Detail

      • updateKeywordPackageById

        public FunctionPackage updateKeywordPackageById​(FunctionPackage previousPackage,
                                                        File packageLibraryFile,
                                                        File packageFile,
                                                        Map<String,​String> packageAttributes)
                                                 throws IOException
        Description copied from interface: FunctionPackageClient
        Update an existing Keyword package identified by its ObjectId
        Specified by:
        updateKeywordPackageById in interface FunctionPackageClient
        Parameters:
        previousPackage - the older version of the FunctionPackage obtained at creation time (i.e returned by newKeywordPackage)
        packageLibraryFile - a Zip
        packageFile - the Jar/DLL file containing the Keyword definitions. The file will be uploaded to the Controller
        packageAttributes - (optional) the attributes the keyword package can be identified with, by default the resource name will be used
        Returns:
        the updated FunctionPackage
        Throws:
        IOException - in case of any error
      • updateResourceBasedKeywordPackage

        public FunctionPackage updateResourceBasedKeywordPackage​(File packageLibraryFile,
                                                                 File packageFile,
                                                                 Map<String,​String> packageAttributes)
                                                          throws IOException
        Description copied from interface: FunctionPackageClient
        Update an existing Keyword package with a new version of the resource(s), the package is implicitly managed via resource name Warning: if multiple resources are created with the same name, or if multiple keyword packages reference the same resource, only the first match will be updated.
        Specified by:
        updateResourceBasedKeywordPackage in interface FunctionPackageClient
        Parameters:
        packageLibraryFile - a Zip
        packageFile - the Jar/DLL file containing the Keyword definitions. The file will be uploaded to the Controller
        packageAttributes - (optional) the attributes the keyword package can be identified with, by default the resource name will be used
        Returns:
        the updated FunctionPackage
        Throws:
        IOException - in case of any error