hudson.plugins.clearcase
Class ClearCaseInstallation

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tools.ToolInstallation>
      extended by hudson.tools.ToolInstallation
          extended by hudson.plugins.clearcase.ClearCaseInstallation
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tools.ToolInstallation>, hudson.slaves.NodeSpecific<ClearCaseInstallation>, java.io.Serializable

public class ClearCaseInstallation
extends hudson.tools.ToolInstallation
implements hudson.slaves.NodeSpecific<ClearCaseInstallation>

Corresponds to an IBM ClearCase installation.

This Extension aims at allowing to set a specific ClearCase home folder for each node of an Hudson instance (which is useful if ClearCase is not in the PATH of all the nodes and if the ClearCase installation folder is not the same on each node).

This ToolInstallation is NOT EnvironmentSpecific, it is only NodeSpecific.

Author:
Romain Seguy (http://davadoc.deviantart.com)
See Also:
Serialized Form

Nested Class Summary
static class ClearCaseInstallation.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
 
Field Summary
static java.lang.String CLEARTOOL_EXE
           
static java.lang.String CLEARTOOL_EXE_FALLBACK
           
static java.lang.String NAME
           
 
Constructor Summary
ClearCaseInstallation(java.lang.String home)
           
 
Method Summary
 ClearCaseInstallation forNode(hudson.model.Node node, hudson.model.TaskListener log)
           
 java.lang.String getCleartoolExe(hudson.model.Node node, hudson.model.TaskListener listener)
           
 
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
 

Field Detail

NAME

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

CLEARTOOL_EXE

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

CLEARTOOL_EXE_FALLBACK

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

ClearCaseInstallation

@DataBoundConstructor
public ClearCaseInstallation(java.lang.String home)
Method Detail

forNode

public ClearCaseInstallation forNode(hudson.model.Node node,
                                     hudson.model.TaskListener log)
                              throws java.io.IOException,
                                     java.lang.InterruptedException
Specified by:
forNode in interface hudson.slaves.NodeSpecific<ClearCaseInstallation>
Throws:
java.io.IOException
java.lang.InterruptedException

getCleartoolExe

public java.lang.String getCleartoolExe(hudson.model.Node node,
                                        hudson.model.TaskListener listener)
                                 throws java.io.IOException,
                                        java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2011. All Rights Reserved.