Class ImportProjectClient
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.test.client.AbstractTMSClient
de.tracetronic.jenkins.plugins.ecutest.test.client.ImportProjectClient
Client to import ecu.test projects via COM interface.
-
Constructor Summary
ConstructorsConstructorDescriptionImportProjectClient(TMSConfig importConfig) Instantiates a newImportProjectClient. -
Method Summary
Modifier and TypeMethodDescriptionbooleanimportProject(Item project, FilePath workspace, Launcher launcher, TaskListener listener) Imports a project according to given import configuration.booleanimportProjectArchive(Launcher launcher, TaskListener listener) Imports a project from an archive.booleanimportProjectAttributes(Item project, FilePath workspace, Launcher launcher, TaskListener listener) Imports a project according to given import configuration.Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.test.client.AbstractTMSClient
isCompatible, login, logout
-
Constructor Details
-
ImportProjectClient
Instantiates a newImportProjectClient.- Parameters:
importConfig- the import project configuration
-
-
Method Details
-
getImportConfig
-
importProject
public boolean importProject(Item project, FilePath workspace, Launcher launcher, TaskListener listener) throws IOException, InterruptedException Imports a project according to given import configuration.- Parameters:
project- the projectworkspace- the workspacelauncher- the launcherlistener- the listener- Returns:
trueif successful,falseotherwise- Throws:
IOException- signals that an I/O exception has occurredInterruptedException- if the build gets interrupted
-
importProjectAttributes
public boolean importProjectAttributes(Item project, FilePath workspace, Launcher launcher, TaskListener listener) throws IOException, InterruptedException Imports a project according to given import configuration.- Parameters:
project- the projectworkspace- the workspacelauncher- the launcherlistener- the listener- Returns:
trueif successful,falseotherwise- Throws:
IOException- signals that an I/O exception has occurredInterruptedException- if the build gets interrupted
-
importProjectArchive
public boolean importProjectArchive(Launcher launcher, TaskListener listener) throws IOException, InterruptedException Imports a project from an archive.- Parameters:
launcher- the launcherlistener- the listener- Returns:
true, if import succeeded,falseotherwise- Throws:
IOException- signals that an I/O exception has occurredInterruptedException- if the build gets interrupted
-