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 Summary
Constructors Constructor Description ExportProjectClient(TMSConfig exportConfig)
Instantiates a newExportProjectClient
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exportProject(Item project, FilePath workspace, Launcher launcher, TaskListener listener)
Exports a project according to given export configuration.boolean
exportProjectAttributes(Item project, FilePath workspace, Launcher launcher, TaskListener listener)
Exports project attributes according to given export configuration.TMSConfig
getExportConfig()
-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.test.client.AbstractTMSClient
isCompatible, login, logout
-
-
-
-
Constructor Detail
-
ExportProjectClient
public ExportProjectClient(TMSConfig exportConfig)
Instantiates a newExportProjectClient
.- 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 projectworkspace
- the workspacelauncher
- the launcherlistener
- the listener- Returns:
true
if successful,false
otherwise- Throws:
IOException
- signals that an I/O exception has occurredInterruptedException
- 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 projectworkspace
- the workspacelauncher
- the launcherlistener
- the listener- Returns:
true
if successful,false
otherwise- Throws:
IOException
- signals that an I/O exception has occurredInterruptedException
- if the build gets interrupted
-
-