|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.scm.SCM
scm.vss.VSSSCM
public class VSSSCM
Manages the content from Microsoft Visual Source Safe.
| Nested Class Summary | |
|---|---|
static class |
VSSSCM.VSSDescriptor
VSS descriptor that describes about the VSS SCM. |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary |
|---|
| Fields inherited from class hudson.scm.SCM |
|---|
PERMISSIONS, TAG |
| Constructor Summary | |
|---|---|
VSSSCM(java.lang.String serverPath,
java.lang.String user,
java.lang.String password,
java.lang.String vssPath,
boolean isWritable,
boolean isRecursive,
boolean useUpdate)
All the details necessary to get the content from VSS. |
|
| Method Summary | |
|---|---|
boolean |
checkout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
java.io.File changelogFile)
Fetches the content from VSS. |
hudson.scm.ChangeLogParser |
createChangeLogParser()
Returns the change log parser. |
static java.lang.String |
escapeForXml(java.lang.Object object)
Converts the input in the way that it can be written to the XML. |
hudson.FilePath |
getModuleRoot(hudson.FilePath workspace)
Module root same as the workspace root. |
java.lang.String |
getPassword()
|
java.lang.String |
getServerPath()
|
java.lang.String |
getUser()
|
java.lang.String |
getVssPath()
|
boolean |
isRecursive()
|
boolean |
isUseUpdate()
|
boolean |
isWritable()
|
boolean |
pollChanges(hudson.model.AbstractProject project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener)
Poll for changes in the workspace in VSS. |
| Methods inherited from class hudson.scm.SCM |
|---|
_for, all, buildEnvVars, createEmptyChangeLog, getBrowser, getDescriptor, getEffectiveBrowser, getModuleRoots, nullify, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VSSSCM(java.lang.String serverPath,
java.lang.String user,
java.lang.String password,
java.lang.String vssPath,
boolean isWritable,
boolean isRecursive,
boolean useUpdate)
serverPath - Path to srcsafe.ini file.user - User name.password - Password.vssPath - Directory path in the VSS server.isWritable - Indicates whether to keep the files in wriable mode or
not.isRecursive - Indicates whether to get the files in recursive order
or not.| Method Detail |
|---|
public hudson.FilePath getModuleRoot(hudson.FilePath workspace)
getModuleRoot in class hudson.scm.SCM
public boolean pollChanges(hudson.model.AbstractProject project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener)
throws java.io.IOException
pollChanges in class hudson.scm.SCMjava.io.IOException
public boolean checkout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
java.io.File changelogFile)
throws java.io.IOException,
java.lang.InterruptedException
checkout in class hudson.scm.SCMjava.io.IOException
java.lang.InterruptedExceptionpublic static java.lang.String escapeForXml(java.lang.Object object)
object - The object to be escaped.
public hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser in class hudson.scm.SCMpublic boolean isWritable()
public boolean isRecursive()
public boolean isUseUpdate()
public java.lang.String getPassword()
public java.lang.String getServerPath()
public java.lang.String getUser()
public java.lang.String getVssPath()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||