Class ImportPackageClient
- java.lang.Object
-
- de.tracetronic.jenkins.plugins.ecutest.test.client.AbstractTMSClient
-
- de.tracetronic.jenkins.plugins.ecutest.test.client.ImportPackageClient
-
public class ImportPackageClient extends AbstractTMSClient
Client to import ecu.test packages via COM interface.
-
-
Constructor Summary
Constructors Constructor Description ImportPackageClient(TMSConfig importConfig)
Instantiates a newImportPackageClient
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TMSConfig
getImportConfig()
boolean
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 Detail
-
ImportPackageClient
public ImportPackageClient(TMSConfig importConfig)
Instantiates a newImportPackageClient
.- Parameters:
importConfig
- the import package configuration
-
-
Method Detail
-
getImportConfig
public TMSConfig 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
-
-