Class ExportProjectClient


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

      • ExportProjectClient

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

      • getExportConfig

        public TMSConfig getExportConfig()
      • exportProject

        public boolean exportProject​(Item project,
                                     FilePath workspace,
                                     Launcher launcher,
                                     TaskListener listener)
                              throws IOException,
                                     InterruptedException
        Exports a project 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
      • exportProjectAttributes

        public boolean exportProjectAttributes​(Item project,
                                               FilePath workspace,
                                               Launcher launcher,
                                               TaskListener listener)
                                        throws IOException,
                                               InterruptedException
        Exports project 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