com.ibm.team.build.internal.hjplugin
Class RTCScm

java.lang.Object
  extended by hudson.scm.SCM
      extended by com.ibm.team.build.internal.hjplugin.RTCScm
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.SCM>

public class RTCScm
extends hudson.scm.SCM


Nested Class Summary
static class RTCScm.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static String BUILD_DEFINITION_TYPE
           
static String BUILD_WORKSPACE_TYPE
           
 
Fields inherited from class hudson.scm.SCM
PERMISSIONS, TAG
 
Constructor Summary
RTCScm(boolean overrideGlobal, String buildTool, String serverURI, int timeout, String userId, hudson.util.Secret password, String passwordFile, String buildDefinition, String buildWorkspace)
           
 
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 arg1, hudson.FilePath workspacePath, hudson.model.BuildListener listener, File changeLogFile)
           
protected  hudson.scm.PollingResult compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project, hudson.Launcher launcher, hudson.FilePath workspacePath, hudson.model.TaskListener listener, hudson.scm.SCMRevisionState revisionState)
           
 hudson.scm.ChangeLogParser createChangeLogParser()
           
 RTCRepositoryBrowser getBrowser()
           
 String getBuildDefinition()
           
 String getBuildTool()
           
 String getBuildType()
           
 String getBuildWorkspace()
           
 RTCScm.DescriptorImpl getDescriptor()
           
 boolean getOverrideGlobal()
           
 String getPassword()
           
 String getPasswordFile()
           
 File getPasswordFileFile()
           
 String getServerURI()
           
 int getTimeout()
           
 String getUserId()
           
 boolean requiresWorkspaceForPolling()
           
 boolean supportsPolling()
           
static boolean unexpectedFailure(Throwable e)
           
 
Methods inherited from class hudson.scm.SCM
_calcRevisionsFromBuild, _for, all, buildEnvVars, createEmptyChangeLog, getApi, getEffectiveBrowser, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, nullify, poll, pollChanges, processWorkspaceBeforeDeletion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUILD_WORKSPACE_TYPE

public static final String BUILD_WORKSPACE_TYPE
See Also:
Constant Field Values

BUILD_DEFINITION_TYPE

public static final String BUILD_DEFINITION_TYPE
See Also:
Constant Field Values
Constructor Detail

RTCScm

@DataBoundConstructor
public RTCScm(boolean overrideGlobal,
                                   String buildTool,
                                   String serverURI,
                                   int timeout,
                                   String userId,
                                   hudson.util.Secret password,
                                   String passwordFile,
                                   String buildDefinition,
                                   String buildWorkspace)
Method Detail

getDescriptor

public RTCScm.DescriptorImpl 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 IOException,
                                                          InterruptedException
Specified by:
calcRevisionsFromBuild in class hudson.scm.SCM
Throws:
IOException
InterruptedException

checkout

public boolean checkout(hudson.model.AbstractBuild<?,?> build,
                        hudson.Launcher arg1,
                        hudson.FilePath workspacePath,
                        hudson.model.BuildListener listener,
                        File changeLogFile)
                 throws IOException,
                        InterruptedException
Specified by:
checkout in class hudson.scm.SCM
Throws:
IOException
InterruptedException

supportsPolling

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

requiresWorkspaceForPolling

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

compareRemoteRevisionWith

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

unexpectedFailure

public static boolean unexpectedFailure(Throwable e)

createChangeLogParser

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

getBrowser

public RTCRepositoryBrowser getBrowser()
Overrides:
getBrowser in class hudson.scm.SCM

getOverrideGlobal

public boolean getOverrideGlobal()

getBuildTool

public String getBuildTool()

getServerURI

public String getServerURI()

getTimeout

public int getTimeout()

getUserId

public String getUserId()

getPassword

public String getPassword()

getPasswordFile

public String getPasswordFile()

getPasswordFileFile

public File getPasswordFileFile()

getBuildType

public String getBuildType()

getBuildWorkspace

public String getBuildWorkspace()

getBuildDefinition

public String getBuildDefinition()


Copyright © 2004-2013. All Rights Reserved.