hudson.scm
类 BlameSubversionSCM.ModuleLocation

java.lang.Object
  继承者 hudson.scm.BlameSubversionSCM.ModuleLocation
所有已实现的接口:
java.io.Serializable
包容类:
BlameSubversionSCM

@ExportedBean
public static final class BlameSubversionSCM.ModuleLocation
extends java.lang.Object
implements java.io.Serializable

small structure to store local and remote (repository) location information of the repository. As a addition it holds the invalid field to make failure messages when doing a checkout possible

另请参见:
序列化表格

字段摘要
 java.lang.String local
          已过时。 Code should use getLocalDir(). This field is only intended for form binding.
 java.lang.String remote
          Subversion URL to check out.
 
构造方法摘要
BlameSubversionSCM.ModuleLocation(java.lang.String remote, java.lang.String local)
           
 
方法摘要
 BlameSubversionSCM.ModuleLocation getExpandedLocation(hudson.model.AbstractBuild<?,?> build)
          Expand location value based on Build parametric execution.
 java.lang.String getLocalDir()
          Local directory to place the file to.
 org.tmatesoft.svn.core.SVNURL getRepositoryRoot(hudson.model.AbstractProject context)
           
 org.tmatesoft.svn.core.wc.SVNRevision getRevision(org.tmatesoft.svn.core.wc.SVNRevision defaultValue)
          Figures out which revision to check out.
 org.tmatesoft.svn.core.SVNURL getSVNURL()
          Gets remote as SVNURL.
 java.lang.String getURL()
          Returns the pure URL portion of remote by removing possible "@NNN" suffix.
 java.util.UUID getUUID(hudson.model.AbstractProject context)
          Repository UUID.
 org.tmatesoft.svn.core.io.SVNRepository openRepository(hudson.model.AbstractProject context)
           
static java.util.List<BlameSubversionSCM.ModuleLocation> parse(java.lang.String[] remoteLocations, java.lang.String[] localLocations)
           
 java.lang.String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

remote

@Exported
public final java.lang.String remote
Subversion URL to check out. This may include "@NNN" at the end to indicate a fixed revision.


local

@Exported
public final java.lang.String local
已过时。 Code should use getLocalDir(). This field is only intended for form binding.
Remembers the user-given value. Can be null.

构造方法详细信息

BlameSubversionSCM.ModuleLocation

@DataBoundConstructor
public BlameSubversionSCM.ModuleLocation(java.lang.String remote,
                                                              java.lang.String local)
方法详细信息

getLocalDir

public java.lang.String getLocalDir()
Local directory to place the file to. Relative to the workspace root.


getURL

public java.lang.String getURL()
Returns the pure URL portion of remote by removing possible "@NNN" suffix.


getSVNURL

public org.tmatesoft.svn.core.SVNURL getSVNURL()
                                        throws org.tmatesoft.svn.core.SVNException
Gets remote as SVNURL.

抛出:
org.tmatesoft.svn.core.SVNException

getUUID

public java.util.UUID getUUID(hudson.model.AbstractProject context)
                       throws org.tmatesoft.svn.core.SVNException
Repository UUID. Lazy computed and cached.

抛出:
org.tmatesoft.svn.core.SVNException

openRepository

public org.tmatesoft.svn.core.io.SVNRepository openRepository(hudson.model.AbstractProject context)
                                                       throws org.tmatesoft.svn.core.SVNException
抛出:
org.tmatesoft.svn.core.SVNException

getRepositoryRoot

public org.tmatesoft.svn.core.SVNURL getRepositoryRoot(hudson.model.AbstractProject context)
                                                throws org.tmatesoft.svn.core.SVNException
抛出:
org.tmatesoft.svn.core.SVNException

getRevision

public org.tmatesoft.svn.core.wc.SVNRevision getRevision(org.tmatesoft.svn.core.wc.SVNRevision defaultValue)
Figures out which revision to check out. If remote is url@rev, then this method returns that specific revision.

参数:
defaultValue - If "@NNN" portion is not in the URL, this value will be returned. Normally, this is the SVN revision timestamped at the build date.

getExpandedLocation

public BlameSubversionSCM.ModuleLocation getExpandedLocation(hudson.model.AbstractBuild<?,?> build)
Expand location value based on Build parametric execution.

参数:
build - Build instance for expanding parameters into their values
返回:
Output ModuleLocation expanded according to Build parameters values.

toString

public java.lang.String toString()
覆盖:
java.lang.Object 中的 toString

parse

public static java.util.List<BlameSubversionSCM.ModuleLocation> parse(java.lang.String[] remoteLocations,
                                                                      java.lang.String[] localLocations)


Copyright © 2010. All Rights Reserved.