Class ExportProjectClient
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.test.client.AbstractTMSClient
de.tracetronic.jenkins.plugins.ecutest.test.client.ExportProjectClient
Client to export ecu.test projects via COM interface.
-
Constructor Summary
ConstructorsConstructorDescriptionExportProjectClient
(TMSConfig exportConfig) Instantiates a newExportProjectClient
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
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.Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.test.client.AbstractTMSClient
isCompatible, login, logout
-
Constructor Details
-
ExportProjectClient
Instantiates a newExportProjectClient
.- Parameters:
exportConfig
- the export project configuration
-
-
Method Details
-
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
-