hudson.plugins.git
Class GitTool

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

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

Information about Git installation.

Author:
Jyrki Puttonen
See Also:
Serialized Form

Nested Class Summary
static class GitTool.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
GitTool(java.lang.String name, java.lang.String home, java.util.List<? extends hudson.tools.ToolProperty<?>> properties)
           
 
Method Summary
 GitTool forEnvironment(hudson.EnvVars environment)
           
 GitTool forNode(hudson.model.Node node, hudson.model.TaskListener log)
           
 GitTool.DescriptorImpl getDescriptor()
           
 java.lang.String getGitExe()
           
static void onLoaded()
           
 
Methods inherited from class hudson.tools.ToolInstallation
all, getHome, getName, getProperties, translateFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GitTool

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

getGitExe

public java.lang.String getGitExe()

onLoaded

public static void onLoaded()

forNode

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

forEnvironment

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

getDescriptor

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


Copyright © 2010. All Rights Reserved.