Class ExportProjectClient

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

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

    • ExportProjectClient

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

    • 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