com.deluan.jenkins.plugins.rtc
Class JazzSCM
java.lang.Object
hudson.scm.SCM
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 classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.scm.SCM |
PERMISSIONS, TAG |
|
Constructor Summary |
JazzSCM(java.lang.String repositoryLocation,
java.lang.String workspaceName,
java.lang.String streamName,
java.lang.String username,
java.lang.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,
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()
|
JazzRepositoryBrowser |
getBrowser()
|
JazzSCM.DescriptorImpl |
getDescriptor()
|
java.lang.String |
getPassword()
|
java.lang.String |
getRepositoryLocation()
|
java.lang.String |
getStreamName()
|
java.lang.String |
getUsername()
|
java.lang.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 |
JazzSCM
@DataBoundConstructor
public JazzSCM(java.lang.String repositoryLocation,
java.lang.String workspaceName,
java.lang.String streamName,
java.lang.String username,
java.lang.String password)
getRepositoryLocation
public java.lang.String getRepositoryLocation()
getWorkspaceName
public java.lang.String getWorkspaceName()
getStreamName
public java.lang.String getStreamName()
getUsername
public java.lang.String getUsername()
getPassword
public java.lang.String getPassword()
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
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 java.io.IOException,
java.lang.InterruptedException
- Overrides:
processWorkspaceBeforeDeletion in class hudson.scm.SCM
- Throws:
java.io.IOException
java.lang.InterruptedException
getDescriptor
public JazzSCM.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.scm.SCM>- Overrides:
getDescriptor in class hudson.scm.SCM
Copyright © 2004-2011. All Rights Reserved.