Class ImportPackageClient


  • public class ImportPackageClient
    extends AbstractTMSClient
    Client to import ecu.test packages via COM interface.
    • Constructor Detail

      • ImportPackageClient

        public ImportPackageClient​(TMSConfig importConfig)
        Instantiates a new ImportPackageClient.
        Parameters:
        importConfig - the import package configuration
    • Method Detail

      • getImportConfig

        public TMSConfig getImportConfig()
      • importPackage

        public boolean importPackage​(Item project,
                                     FilePath workspace,
                                     Launcher launcher,
                                     TaskListener listener)
                              throws IOException,
                                     InterruptedException
        Imports a package according to given import configuration.
        Parameters:
        project - the project
        workspace - the workspace
        launcher - the launcher
        listener - the listener
        Returns:
        true if successful, false otherwise
        Throws:
        IOException - signals that an I/O exception has occurred
        InterruptedException - if the build gets interrupted
      • importPackageAttributes

        public boolean importPackageAttributes​(Item project,
                                               FilePath workspace,
                                               Launcher launcher,
                                               TaskListener listener)
                                        throws IOException,
                                               InterruptedException
        Imports a package attributes according to given import configuration.
        Parameters:
        project - the project
        workspace - the workspace
        launcher - the launcher
        listener - the listener
        Returns:
        true if successful, false otherwise
        Throws:
        IOException - signals that an I/O exception has occurred
        InterruptedException - if the build gets interrupted