Class ExportPackageClient
- java.lang.Object
-
- de.tracetronic.jenkins.plugins.ecutest.test.client.AbstractTMSClient
-
- de.tracetronic.jenkins.plugins.ecutest.test.client.ExportPackageClient
-
public class ExportPackageClient extends AbstractTMSClient
Client to export ecu.test packages via COM interface.
-
-
Constructor Summary
Constructors Constructor Description ExportPackageClient(TMSConfig exportConfig)
Instantiates a newExportPackageClient
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exportPackage(Item project, FilePath workspace, Launcher launcher, TaskListener listener)
Exports a package according to given export configuration.boolean
exportPackageAttributes(Item project, FilePath workspace, Launcher launcher, TaskListener listener)
Exports package 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
-
ExportPackageClient
public ExportPackageClient(TMSConfig exportConfig)
Instantiates a newExportPackageClient
.- Parameters:
exportConfig
- the export configuration
-
-
Method Detail
-
getExportConfig
public TMSConfig getExportConfig()
-
exportPackage
public boolean exportPackage(Item project, FilePath workspace, Launcher launcher, TaskListener listener) throws IOException, InterruptedException
Exports a package 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
-
exportPackageAttributes
public boolean exportPackageAttributes(Item project, FilePath workspace, Launcher launcher, TaskListener listener) throws IOException, InterruptedException
Exports package 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
-
-