hudson.plugins.tfs
Class TeamFoundationServerScm

java.lang.Object
  extended by hudson.scm.SCM
      extended by hudson.plugins.tfs.TeamFoundationServerScm
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.SCM>

public class TeamFoundationServerScm
extends hudson.scm.SCM

SCM for Microsoft Team Foundation Server.

Author:
Erik Ramfelt

Nested Class Summary
static class TeamFoundationServerScm.DescriptorImpl
           
 
Field Summary
 
Fields inherited from class hudson.scm.SCM
PERMISSIONS, TAG
 
Constructor Summary
TeamFoundationServerScm(java.lang.String serverUrl, java.lang.String projectPath, java.lang.String localPath, boolean useUpdate, java.lang.String workspaceName, java.lang.String userName, java.lang.String userPassword)
           
 
Method Summary
 boolean checkout(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.FilePath workspaceFilePath, hudson.model.BuildListener listener, java.io.File changelogFile)
           
 hudson.scm.ChangeLogParser createChangeLogParser()
           
protected  Server createServer(TfTool tool)
           
 TeamFoundationServerScm.DescriptorImpl getDescriptor()
           
 java.lang.String getLocalPath()
           
 hudson.FilePath getModuleRoot(hudson.FilePath workspace)
           
 java.lang.String getNormalizedWorkspaceName(hudson.model.AbstractProject<?,?> project)
           
 java.lang.String getProjectPath()
           
 java.lang.String getServerUrl()
           
 java.lang.String getUserName()
           
 java.lang.String getUserPassword()
           
 java.lang.String getWorkspaceName()
           
 boolean isUseUpdate()
           
 boolean pollChanges(hudson.model.AbstractProject hudsonProject, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.TaskListener listener)
           
 boolean requiresWorkspaceForPolling()
           
 boolean supportsPolling()
           
 
Methods inherited from class hudson.scm.SCM
buildEnvVars, createEmptyChangeLog, getBrowser, getEffectiveBrowser, getModuleRoots, nullify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TeamFoundationServerScm

@DataBoundConstructor
public TeamFoundationServerScm(java.lang.String serverUrl,
                                                    java.lang.String projectPath,
                                                    java.lang.String localPath,
                                                    boolean useUpdate,
                                                    java.lang.String workspaceName,
                                                    java.lang.String userName,
                                                    java.lang.String userPassword)
Method Detail

getServerUrl

public java.lang.String getServerUrl()

getWorkspaceName

public java.lang.String getWorkspaceName()

getProjectPath

public java.lang.String getProjectPath()

getLocalPath

public java.lang.String getLocalPath()

isUseUpdate

public boolean isUseUpdate()

getUserPassword

public java.lang.String getUserPassword()

getUserName

public java.lang.String getUserName()

getNormalizedWorkspaceName

public java.lang.String getNormalizedWorkspaceName(hudson.model.AbstractProject<?,?> project)

checkout

public boolean checkout(hudson.model.AbstractBuild build,
                        hudson.Launcher launcher,
                        hudson.FilePath workspaceFilePath,
                        hudson.model.BuildListener listener,
                        java.io.File changelogFile)
                 throws java.io.IOException,
                        java.lang.InterruptedException
Specified by:
checkout in class hudson.scm.SCM
Throws:
java.io.IOException
java.lang.InterruptedException

pollChanges

public boolean pollChanges(hudson.model.AbstractProject hudsonProject,
                           hudson.Launcher launcher,
                           hudson.FilePath workspace,
                           hudson.model.TaskListener listener)
                    throws java.io.IOException,
                           java.lang.InterruptedException
Specified by:
pollChanges in class hudson.scm.SCM
Throws:
java.io.IOException
java.lang.InterruptedException

createServer

protected Server createServer(TfTool tool)

requiresWorkspaceForPolling

public boolean requiresWorkspaceForPolling()
Overrides:
requiresWorkspaceForPolling in class hudson.scm.SCM

supportsPolling

public boolean supportsPolling()
Overrides:
supportsPolling in class hudson.scm.SCM

createChangeLogParser

public hudson.scm.ChangeLogParser createChangeLogParser()
Specified by:
createChangeLogParser in class hudson.scm.SCM

getModuleRoot

public hudson.FilePath getModuleRoot(hudson.FilePath workspace)
Overrides:
getModuleRoot in class hudson.scm.SCM

getDescriptor

public TeamFoundationServerScm.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.scm.SCM>
Overrides:
getDescriptor in class hudson.scm.SCM


Copyright © 2008. All Rights Reserved.