com.michelin.cio.hudson.plugins.qc.client
Class QualityCenterClientInstaller

java.lang.Object
  extended by hudson.tools.ToolInstaller
      extended by com.michelin.cio.hudson.plugins.qc.client.QualityCenterClientInstaller
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tools.ToolInstaller>

public class QualityCenterClientInstaller
extends hudson.tools.ToolInstaller

Author:
Thomas Maurel

Nested Class Summary
static class QualityCenterClientInstaller.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static java.lang.String DLL_NAME
           
static java.lang.String DLL_PATH_ON_NODE
           
static java.lang.String INSTALLER_PATH_ON_SERVER
           
static java.lang.String INSTALLLER_FILE_NAME
           
 
Fields inherited from class hudson.tools.ToolInstaller
tool
 
Constructor Summary
QualityCenterClientInstaller(java.lang.String qcServerURL, java.lang.String localPathToQCClient)
           
 
Method Summary
 java.lang.String getLocalPathToQCClient()
           
 java.lang.String getQcServerURL()
           
 void install(hudson.Launcher launcher, hudson.model.TaskListener log, java.lang.String expectedLocation, hudson.FilePath qcBundle)
           
 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
 

Field Detail

INSTALLER_PATH_ON_SERVER

public static final java.lang.String INSTALLER_PATH_ON_SERVER
See Also:
Constant Field Values

DLL_PATH_ON_NODE

public static final java.lang.String DLL_PATH_ON_NODE
See Also:
Constant Field Values

INSTALLLER_FILE_NAME

public static final java.lang.String INSTALLLER_FILE_NAME
See Also:
Constant Field Values

DLL_NAME

public static final java.lang.String DLL_NAME
See Also:
Constant Field Values
Constructor Detail

QualityCenterClientInstaller

@DataBoundConstructor
public QualityCenterClientInstaller(java.lang.String qcServerURL,
                                                         java.lang.String localPathToQCClient)
Method Detail

getLocalPathToQCClient

public java.lang.String getLocalPathToQCClient()

getQcServerURL

public java.lang.String getQcServerURL()

performInstallation

public hudson.FilePath performInstallation(hudson.tools.ToolInstallation tool,
                                           hudson.model.Node node,
                                           hudson.model.TaskListener log)
                                    throws java.io.IOException,
                                           java.lang.InterruptedException
Specified by:
performInstallation in class hudson.tools.ToolInstaller
Throws:
java.io.IOException
java.lang.InterruptedException

install

public void install(hudson.Launcher launcher,
                    hudson.model.TaskListener log,
                    java.lang.String expectedLocation,
                    hudson.FilePath qcBundle)
             throws java.io.IOException,
                    java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2010. All Rights Reserved.