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

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tools.ToolInstallation>
      extended by hudson.tools.ToolInstallation
          extended by com.michelin.cio.hudson.plugins.qc.client.QualityCenterClientInstallation
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tools.ToolInstallation>, hudson.model.EnvironmentSpecific<QualityCenterClientInstallation>, hudson.slaves.NodeSpecific<QualityCenterClientInstallation>, java.io.Serializable

public class QualityCenterClientInstallation
extends hudson.tools.ToolInstallation
implements hudson.slaves.NodeSpecific<QualityCenterClientInstallation>, hudson.model.EnvironmentSpecific<QualityCenterClientInstallation>

Author:
Thomas Maurel
See Also:
Serialized Form

Nested Class Summary
static class QualityCenterClientInstallation.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tools.ToolInstallation
hudson.tools.ToolInstallation.ToolConverter
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
QualityCenterClientInstallation(java.lang.String name, java.lang.String qcHome)
           
QualityCenterClientInstallation(java.lang.String name, java.lang.String home, java.util.List<? extends hudson.tools.ToolProperty<?>> properties)
           
 
Method Summary
 QualityCenterClientInstallation forEnvironment(hudson.EnvVars environment)
           
 QualityCenterClientInstallation forNode(hudson.model.Node node, hudson.model.TaskListener log)
          Gets the installation for the specified node.
 java.lang.String getQCDll(hudson.Launcher launcher)
          Returns the path to OTAClient.dll.
 
Methods inherited from class hudson.tools.ToolInstallation
all, getHome, getName, getProperties, translateFor
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QualityCenterClientInstallation

public QualityCenterClientInstallation(java.lang.String name,
                                       java.lang.String qcHome)

QualityCenterClientInstallation

@DataBoundConstructor
public QualityCenterClientInstallation(java.lang.String name,
                                                            java.lang.String home,
                                                            java.util.List<? extends hudson.tools.ToolProperty<?>> properties)
Method Detail

forNode

public QualityCenterClientInstallation forNode(hudson.model.Node node,
                                               hudson.model.TaskListener log)
                                        throws java.io.IOException,
                                               java.lang.InterruptedException
Gets the installation for the specified node.

Specified by:
forNode in interface hudson.slaves.NodeSpecific<QualityCenterClientInstallation>
Returns:
null if not a Windows node
Throws:
java.io.IOException
java.lang.InterruptedException

forEnvironment

public QualityCenterClientInstallation forEnvironment(hudson.EnvVars environment)
Specified by:
forEnvironment in interface hudson.model.EnvironmentSpecific<QualityCenterClientInstallation>

getQCDll

public java.lang.String getQCDll(hudson.Launcher launcher)
                          throws java.io.IOException,
                                 java.lang.InterruptedException
Returns the path to OTAClient.dll.

Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2010. All Rights Reserved.