hudson.plugins.tfs
Class TeamFoundationServerScm
java.lang.Object
hudson.scm.SCM
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
| 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)
|
| Methods inherited from class hudson.scm.SCM |
buildEnvVars, createEmptyChangeLog, getEffectiveBrowser, getModuleRoots, nullify |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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
getBrowser
public TeamFoundationServerRepositoryBrowser getBrowser()
- Overrides:
getBrowser 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.