com.ibm.team.build.internal.hjplugin
Class RTCBuildToolInstallation

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tools.ToolInstallation>
      extended by hudson.tools.ToolInstallation
          extended by com.ibm.team.build.internal.hjplugin.RTCBuildToolInstallation
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tools.ToolInstallation>, hudson.model.EnvironmentSpecific<RTCBuildToolInstallation>, hudson.slaves.NodeSpecific<RTCBuildToolInstallation>, Serializable

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

See Also:
Serialized Form

Nested Class Summary
static class RTCBuildToolInstallation.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 String BUILD_TOOLKIT_TASK_DEFS_XML
           
 
Constructor Summary
RTCBuildToolInstallation(String name, String home, List<? extends hudson.tools.ToolProperty<?>> properties)
          Default constructor.
 
Method Summary
static RTCBuildToolInstallation[] allInstallations()
           
 RTCBuildToolInstallation forEnvironment(hudson.EnvVars environment)
           
 RTCBuildToolInstallation forNode(hudson.model.Node node, hudson.model.TaskListener log)
           
 String getBuildToolkit()
           
 RTCBuildToolInstallation.DescriptorImpl getDescriptor()
           
static hudson.util.FormValidation validateBuildToolkit(File toolkitFile)
           
static hudson.util.FormValidation validateBuildToolkit(String path)
           
 
Methods inherited from class hudson.tools.ToolInstallation
all, buildEnvVars, getHome, getName, getProperties, readResolve, translate, translate, translateFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUILD_TOOLKIT_TASK_DEFS_XML

public static final String BUILD_TOOLKIT_TASK_DEFS_XML
See Also:
Constant Field Values
Constructor Detail

RTCBuildToolInstallation

@DataBoundConstructor
public RTCBuildToolInstallation(String name,
                                                     String home,
                                                     List<? extends hudson.tools.ToolProperty<?>> properties)
Default constructor.

Parameters:
name - Installation name
home - Path to RTC build toolkit
properties - Additional tool installation properties
Method Detail

getBuildToolkit

public String getBuildToolkit()
Returns:
The build toolkit path

forNode

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

forEnvironment

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

allInstallations

public static RTCBuildToolInstallation[] allInstallations()

getDescriptor

public RTCBuildToolInstallation.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tools.ToolInstallation>
Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.tools.ToolInstallation>

validateBuildToolkit

public static hudson.util.FormValidation validateBuildToolkit(String path)

validateBuildToolkit

public static hudson.util.FormValidation validateBuildToolkit(File toolkitFile)


Copyright © 2004-2013. All Rights Reserved.