Class ExportPackageClient


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

      • ExportPackageClient

        public ExportPackageClient​(TMSConfig exportConfig)
        Instantiates a new ExportPackageClient.
        Parameters:
        exportConfig - the export configuration
    • Method Detail

      • getExportConfig

        public TMSConfig getExportConfig()
      • exportPackage

        public boolean exportPackage​(Item project,
                                     FilePath workspace,
                                     Launcher launcher,
                                     TaskListener listener)
                              throws IOException,
                                     InterruptedException
        Exports a package according to given export 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
      • exportPackageAttributes

        public boolean exportPackageAttributes​(Item project,
                                               FilePath workspace,
                                               Launcher launcher,
                                               TaskListener listener)
                                        throws IOException,
                                               InterruptedException
        Exports package attributes according to given export 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