Class ImportProjectClient


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

      • ImportProjectClient

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

      • getImportConfig

        public TMSConfig getImportConfig()
      • importProject

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

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

        public boolean importProjectArchive​(Launcher launcher,
                                            TaskListener listener)
                                     throws IOException,
                                            InterruptedException
        Imports a project from an archive.
        Parameters:
        launcher - the launcher
        listener - the listener
        Returns:
        true, if import succeeded, false otherwise
        Throws:
        IOException - signals that an I/O exception has occurred
        InterruptedException - if the build gets interrupted