Class ImportPackageClient
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.test.client.AbstractTMSClient
de.tracetronic.jenkins.plugins.ecutest.test.client.ImportPackageClient
Client to import ecu.test packages via COM interface.
-
Constructor Summary
ConstructorsConstructorDescriptionImportPackageClient
(TMSConfig importConfig) Instantiates a newImportPackageClient
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
importPackage
(Item project, FilePath workspace, Launcher launcher, TaskListener listener) Imports a package according to given import configuration.boolean
importPackageAttributes
(Item project, FilePath workspace, Launcher launcher, TaskListener listener) Imports a package attributes according to given import configuration.Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.test.client.AbstractTMSClient
isCompatible, login, logout
-
Constructor Details
-
ImportPackageClient
Instantiates a newImportPackageClient
.- Parameters:
importConfig
- the import package configuration
-
-
Method Details
-
getImportConfig
-
importPackage
public boolean importPackage(Item project, FilePath workspace, Launcher launcher, TaskListener listener) throws IOException, InterruptedException Imports a package according to given import 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
-
importPackageAttributes
public boolean importPackageAttributes(Item project, FilePath workspace, Launcher launcher, TaskListener listener) throws IOException, InterruptedException Imports a package attributes according to given import 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
-