hudson.plugins.SeapineSoftware
Class SurroundSCM

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

@Extension
public final class SurroundSCM
extends hudson.scm.SCM


Nested Class Summary
static class SurroundSCM.SurroundSCMDescriptor
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static SurroundSCM.SurroundSCMDescriptor DESCRIPTOR
          Singleton descriptor.
static java.text.SimpleDateFormat SURROUND_DATETIME_FORMATTER
           
 
Fields inherited from class hudson.scm.SCM
PERMISSIONS, TAG
 
Constructor Summary
SurroundSCM()
           
SurroundSCM(java.lang.String server, java.lang.String serverPort, java.lang.String userName, java.lang.String password, java.lang.String branch, java.lang.String repository, java.lang.String surroundSCMExecutable)
           
 
Method Summary
 hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.TaskListener listener)
           
 boolean checkout(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.BuildListener listener, java.io.File changelogFile)
           
protected  hudson.scm.PollingResult compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.TaskListener listener, hudson.scm.SCMRevisionState baseline)
           
 hudson.scm.ChangeLogParser createChangeLogParser()
           
 java.lang.String getBranch()
           
 hudson.scm.SCMDescriptor<?> getDescriptor()
           
 java.lang.String getPassword()
           
 java.lang.String getRepository()
           
 java.lang.String getServer()
           
 java.lang.String getServerPort()
           
 java.lang.String getSurroundSCMExecutable()
           
 java.lang.String getUserName()
           
 void setBranch(java.lang.String branch)
           
 void setPassword(java.lang.String password)
           
 void setRepository(java.lang.String repository)
           
 void setServer(java.lang.String server)
           
 void setServerPort(java.lang.String serverPort)
           
 void setSurroundSCMExecutable(java.lang.String surroundSCMExecutable)
           
 void setUserName(java.lang.String userName)
           
 
Methods inherited from class hudson.scm.SCM
_calcRevisionsFromBuild, _for, all, buildEnvVars, createEmptyChangeLog, getApi, getBrowser, getEffectiveBrowser, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, nullify, poll, pollChanges, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTOR

@Extension
public static final SurroundSCM.SurroundSCMDescriptor DESCRIPTOR
Singleton descriptor.


SURROUND_DATETIME_FORMATTER

public static final java.text.SimpleDateFormat SURROUND_DATETIME_FORMATTER
Constructor Detail

SurroundSCM

@DataBoundConstructor
public SurroundSCM(java.lang.String server,
                                        java.lang.String serverPort,
                                        java.lang.String userName,
                                        java.lang.String password,
                                        java.lang.String branch,
                                        java.lang.String repository,
                                        java.lang.String surroundSCMExecutable)

SurroundSCM

public SurroundSCM()
Method Detail

getServer

public java.lang.String getServer()

setServer

public void setServer(java.lang.String server)

getServerPort

public java.lang.String getServerPort()

setServerPort

public void setServerPort(java.lang.String serverPort)

getUserName

public java.lang.String getUserName()

setUserName

public void setUserName(java.lang.String userName)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

getBranch

public java.lang.String getBranch()

setBranch

public void setBranch(java.lang.String branch)

getRepository

public java.lang.String getRepository()

setRepository

public void setRepository(java.lang.String repository)

getSurroundSCMExecutable

public java.lang.String getSurroundSCMExecutable()

setSurroundSCMExecutable

public void setSurroundSCMExecutable(java.lang.String surroundSCMExecutable)

getDescriptor

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

calcRevisionsFromBuild

public hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build,
                                                          hudson.Launcher launcher,
                                                          hudson.model.TaskListener listener)
                                                   throws java.io.IOException,
                                                          java.lang.InterruptedException
Specified by:
calcRevisionsFromBuild in class hudson.scm.SCM
Throws:
java.io.IOException
java.lang.InterruptedException

compareRemoteRevisionWith

protected hudson.scm.PollingResult compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project,
                                                             hudson.Launcher launcher,
                                                             hudson.FilePath workspace,
                                                             hudson.model.TaskListener listener,
                                                             hudson.scm.SCMRevisionState baseline)
                                                      throws java.io.IOException,
                                                             java.lang.InterruptedException
Specified by:
compareRemoteRevisionWith in class hudson.scm.SCM
Throws:
java.io.IOException
java.lang.InterruptedException

checkout

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
Specified by:
checkout in class hudson.scm.SCM
Throws:
java.io.IOException
java.lang.InterruptedException

createChangeLogParser

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


Copyright © 2004-2011 Hudson. All Rights Reserved.