com.deluan.jenkins.plugins.rtc
Class JazzSCM

java.lang.Object
  extended by hudson.scm.SCM
      extended by com.deluan.jenkins.plugins.rtc.JazzSCM
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.SCM>

public class JazzSCM
extends hudson.scm.SCM

Author:
deluan

Nested Class Summary
static class JazzSCM.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.scm.SCM
PERMISSIONS, TAG
 
Constructor Summary
JazzSCM(String repositoryLocation, String workspaceName, String streamName, String username, String password)
           
 
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, 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()
           
 JazzRepositoryBrowser getBrowser()
           
 JazzConfiguration getConfiguration()
           
 JazzSCM.DescriptorImpl getDescriptor()
           
 String getPassword()
           
 String getRepositoryLocation()
           
 String getStreamName()
           
 String getUsername()
           
 String getWorkspaceName()
           
 boolean processWorkspaceBeforeDeletion(hudson.model.AbstractProject<?,?> project, hudson.FilePath workspace, hudson.model.Node node)
           
 
Methods inherited from class hudson.scm.SCM
_calcRevisionsFromBuild, _for, all, buildEnvVars, createEmptyChangeLog, getApi, getEffectiveBrowser, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, nullify, poll, pollChanges, requiresWorkspaceForPolling, supportsPolling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JazzSCM

@DataBoundConstructor
public JazzSCM(String repositoryLocation,
                                    String workspaceName,
                                    String streamName,
                                    String username,
                                    String password)
Method Detail

getRepositoryLocation

public String getRepositoryLocation()

getWorkspaceName

public String getWorkspaceName()

getStreamName

public String getStreamName()

getUsername

public String getUsername()

getPassword

public String getPassword()

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

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

checkout

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

createChangeLogParser

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

getBrowser

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

processWorkspaceBeforeDeletion

public boolean processWorkspaceBeforeDeletion(hudson.model.AbstractProject<?,?> project,
                                              hudson.FilePath workspace,
                                              hudson.model.Node node)
                                       throws IOException,
                                              InterruptedException
Overrides:
processWorkspaceBeforeDeletion in class hudson.scm.SCM
Throws:
IOException
InterruptedException

getDescriptor

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

getConfiguration

public JazzConfiguration getConfiguration()


Copyright © 2004-2011. All Rights Reserved.