|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objecthudson.scm.SCM
hudson.scm.BlameSubversionSCM
public class BlameSubversionSCM
Blame Subversion SCM. Modify: changed by tang
| 嵌套类摘要 | |
|---|---|
static class |
BlameSubversionSCM.DescriptorImpl
|
static class |
BlameSubversionSCM.ModuleLocation
small structure to store local and remote (repository) location information of the repository. |
static class |
BlameSubversionSCM.SvnInfo
|
| 从接口 hudson.ExtensionPoint 继承的嵌套类/接口 |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| 字段摘要 | |
|---|---|
static int |
DEFAULT_TIMEOUT
Network timeout in milliseconds. |
| 从类 hudson.scm.SCM 继承的字段 |
|---|
PERMISSIONS, TAG |
| 构造方法摘要 | |
|---|---|
BlameSubversionSCM(boolean alwaysCollectSVNInfo)
|
|
| 方法摘要 | |
|---|---|
void |
buildEnvVars(hudson.model.AbstractBuild<?,?> build,
java.util.Map<java.lang.String,java.lang.String> env)
Sets the SVN_REVISION environment variable during the build. |
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()
|
static org.tmatesoft.svn.core.wc.SVNClientManager |
createSvnClientManager(hudson.model.AbstractProject context)
Creates SVNClientManager for code running on the master. |
static org.tmatesoft.svn.core.wc.SVNClientManager |
createSvnClientManager(org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider authProvider)
Creates SVNClientManager. |
static void |
enableSshDebug(java.util.logging.Level level)
Enables trace logging of Ganymed SSH library. |
boolean |
getAlwaysCollectSVNInfo()
|
BlameSubversionSCM.DescriptorImpl |
getDescriptor()
|
java.lang.String |
getExcludedCommitMessages()
|
java.lang.String[] |
getExcludedCommitMessagesNormalized()
|
java.lang.String |
getExcludedRegions()
|
java.lang.String[] |
getExcludedRegionsNormalized()
|
java.lang.String |
getExcludedRevprop()
|
java.lang.String |
getExcludedUsers()
|
java.util.Set<java.lang.String> |
getExcludedUsersNormalized()
|
java.lang.String |
getIncludedRegions()
|
java.lang.String[] |
getIncludedRegionsNormalized()
|
BlameSubversionSCM.ModuleLocation[] |
getLocations()
list of all configured svn locations |
BlameSubversionSCM.ModuleLocation[] |
getLocations(hudson.model.AbstractBuild<?,?> build)
list of all configured svn locations, expanded according to build parameters values; |
hudson.FilePath |
getModuleRoot(hudson.FilePath workspace)
|
hudson.FilePath[] |
getModuleRoots(hudson.FilePath workspace)
|
java.lang.String |
getModules()
已过时。 as of 1.91. Use getLocations() instead. |
static java.io.File |
getRevisionFile(hudson.model.AbstractBuild build)
Gets the file that stores the revision. |
static void |
init()
|
boolean |
isDoRevert()
|
boolean |
isUseUpdate()
|
boolean |
repositoryLocationsNoLongerExist(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
|
boolean |
requiresWorkspaceForPolling()
Polling can happen on the master and does not require a workspace. |
| 从类 hudson.scm.SCM 继承的方法 |
|---|
_calcRevisionsFromBuild, _for, all, createEmptyChangeLog, getApi, getBrowser, getEffectiveBrowser, getType, nullify, poll, pollChanges, processWorkspaceBeforeDeletion, supportsPolling |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public static int DEFAULT_TIMEOUT
| 构造方法详细信息 |
|---|
@DataBoundConstructor public BlameSubversionSCM(boolean alwaysCollectSVNInfo)
| 方法详细信息 |
|---|
public boolean getAlwaysCollectSVNInfo()
public java.lang.String getModules()
getLocations() instead.
@Exported public BlameSubversionSCM.ModuleLocation[] getLocations()
public BlameSubversionSCM.ModuleLocation[] getLocations(hudson.model.AbstractBuild<?,?> build)
build - If non-null, variable expansions are performed against the
build parameters.@Exported public boolean isUseUpdate()
@Exported public boolean isDoRevert()
@Exported public java.lang.String getExcludedRegions()
public java.lang.String[] getExcludedRegionsNormalized()
@Exported public java.lang.String getIncludedRegions()
public java.lang.String[] getIncludedRegionsNormalized()
@Exported public java.lang.String getExcludedUsers()
public java.util.Set<java.lang.String> getExcludedUsersNormalized()
@Exported public java.lang.String getExcludedRevprop()
@Exported public java.lang.String getExcludedCommitMessages()
public java.lang.String[] getExcludedCommitMessagesNormalized()
public void buildEnvVars(hudson.model.AbstractBuild<?,?> build,
java.util.Map<java.lang.String,java.lang.String> env)
hudson.scm.SCM 中的 buildEnvVarspublic boolean requiresWorkspaceForPolling()
hudson.scm.SCM 中的 requiresWorkspaceForPolling
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
hudson.scm.SCM 中的 checkoutjava.io.IOException
java.lang.InterruptedException
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
hudson.scm.SCM 中的 compareRemoteRevisionWithjava.io.IOException
java.lang.InterruptedExceptionpublic static org.tmatesoft.svn.core.wc.SVNClientManager createSvnClientManager(org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider authProvider)
SVNClientManager.
This method must be executed on the slave where svn operations are performed.
authProvider - The value obtained from
BlameSubversionSCM.DescriptorImpl.createAuthenticationProvider(AbstractProject)
. If the operation runs on slaves, (and properly remoted, if
the svn operations run on slaves.)public static org.tmatesoft.svn.core.wc.SVNClientManager createSvnClientManager(hudson.model.AbstractProject context)
SVNClientManager for code running on the master.
CAUTION: this code only works when invoked on master. On slaves, use
createSvnClientManager(ISVNAuthenticationProvider) and get
ISVNAuthenticationProvider from the master via remoting.
public static java.io.File getRevisionFile(hudson.model.AbstractBuild build)
public hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws java.io.IOException,
java.lang.InterruptedException
hudson.scm.SCM 中的 calcRevisionsFromBuildjava.io.IOException
java.lang.InterruptedExceptionpublic hudson.scm.ChangeLogParser createChangeLogParser()
hudson.scm.SCM 中的 createChangeLogParserpublic BlameSubversionSCM.DescriptorImpl getDescriptor()
hudson.model.Describable<hudson.scm.SCM> 中的 getDescriptorhudson.scm.SCM 中的 getDescriptorpublic hudson.FilePath getModuleRoot(hudson.FilePath workspace)
hudson.scm.SCM 中的 getModuleRootpublic hudson.FilePath[] getModuleRoots(hudson.FilePath workspace)
hudson.scm.SCM 中的 getModuleRoots
public boolean repositoryLocationsNoLongerExist(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
public static void init()
public static void enableSshDebug(java.util.logging.Level level)
Intended to be invoked from Groovy console.
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||