Class ImportProjectClient

java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.test.client.AbstractTMSClient
de.tracetronic.jenkins.plugins.ecutest.test.client.ImportProjectClient

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

    • ImportProjectClient

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

    • 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