com.michelin.cio.hudson.plugins.qc.qtpaddins
Class QualityCenterQTPAddinsInstaller
java.lang.Object
hudson.tools.ToolInstaller
com.michelin.cio.hudson.plugins.qc.qtpaddins.QualityCenterQTPAddinsInstaller
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tools.ToolInstaller>
public class QualityCenterQTPAddinsInstaller
- extends hudson.tools.ToolInstaller
This class represents the installer for QuickTest Professional Add-in.
We provide two ways to get the installer:
- The first one consists in downloading the right installer from
HP Update Center, so an Internet connection is required (don't forget to
set the proxy parameters in Hudson if applicable);
- The second one consists in getting the installer from a directory on the
Hudson master node's filesystem.
- Author:
- Thomas Maurel
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.tools.ToolInstaller |
tool |
|
Method Summary |
java.lang.String |
getLocalPathToQTPAddin()
|
java.lang.String |
getVersion()
|
void |
install(hudson.Launcher launcher,
hudson.model.TaskListener log,
java.lang.String expectedLocation,
hudson.FilePath install)
|
boolean |
isAcceptLicense()
|
hudson.FilePath |
performInstallation(hudson.tools.ToolInstallation tool,
hudson.model.Node node,
hudson.model.TaskListener log)
|
| Methods inherited from class hudson.tools.ToolInstaller |
appliesTo, getDescriptor, getLabel, preferredLocation, setTool |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QualityCenterQTPAddinsInstaller
@DataBoundConstructor
public QualityCenterQTPAddinsInstaller(java.lang.String version,
java.lang.String localPathToQTPAddin,
boolean acceptLicense)
isAcceptLicense
public boolean isAcceptLicense()
getLocalPathToQTPAddin
public java.lang.String getLocalPathToQTPAddin()
getVersion
public java.lang.String getVersion()
performInstallation
public hudson.FilePath performInstallation(hudson.tools.ToolInstallation tool,
hudson.model.Node node,
hudson.model.TaskListener log)
throws java.lang.InterruptedException,
hudson.AbortException,
java.io.IOException
- Specified by:
performInstallation in class hudson.tools.ToolInstaller
- Throws:
java.lang.InterruptedException
hudson.AbortException
java.io.IOException
install
public void install(hudson.Launcher launcher,
hudson.model.TaskListener log,
java.lang.String expectedLocation,
hudson.FilePath install)
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
Copyright © 2010. All Rights Reserved.