@ExportedBean public static final class SubversionSCM.ModuleLocation extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
String |
depthOption
Subversion remote depth.
|
boolean |
ignoreExternalsOption
Flag to ignore subversion externals definitions.
|
String |
local
Deprecated.
Code should use
getLocalDir(). This field is only intended for form binding. |
String |
remote
Subversion URL to check out.
|
| Constructor and Description |
|---|
SubversionSCM.ModuleLocation(String remote,
String local)
Constructor to support backward compatibility.
|
SubversionSCM.ModuleLocation(String remote,
String local,
String depthOption,
boolean ignoreExternalsOption) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDepthOption()
Returns the value of remote depth option.
|
SubversionSCM.ModuleLocation |
getExpandedLocation(hudson.model.AbstractBuild<?,?> build)
Expand location value based on Build parametric execution.
|
String |
getLocalDir()
Local directory to place the file to.
|
String |
getOriginRemote()
Returns origin remote url, it can be specified with "@NNN" suffix.
|
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. |
String |
getURL()
Returns the pure URL portion of
remote by removing
possible "@NNN" suffix. |
UUID |
getUUID(hudson.model.AbstractProject context)
Repository UUID.
|
int |
hashCode() |
boolean |
isIgnoreExternalsOption()
Determines if subversion externals definitions should be ignored.
|
org.tmatesoft.svn.core.io.SVNRepository |
openRepository(hudson.model.AbstractProject context) |
static List<SubversionSCM.ModuleLocation> |
parse(String[] remoteLocations,
String[] localLocations,
String[] depthOptions,
boolean[] isIgnoreExternals) |
String |
toString() |
@Exported public final String remote
@Exported public final String local
getLocalDir(). This field is only intended for form binding.@Exported public final String depthOption
@Exported public boolean ignoreExternalsOption
public SubversionSCM.ModuleLocation(String remote, String local)
remote - remote repository.local - local repository.public String getLocalDir()
public String getURL()
remote by removing
possible "@NNN" suffix.public String getOriginRemote()
public org.tmatesoft.svn.core.SVNURL getSVNURL()
throws org.tmatesoft.svn.core.SVNException
remote as SVNURL.org.tmatesoft.svn.core.SVNExceptionpublic UUID getUUID(hudson.model.AbstractProject context) throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic org.tmatesoft.svn.core.io.SVNRepository openRepository(hudson.model.AbstractProject context)
throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic org.tmatesoft.svn.core.SVNURL getRepositoryRoot(hudson.model.AbstractProject context)
throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic org.tmatesoft.svn.core.wc.SVNRevision getRevision(org.tmatesoft.svn.core.wc.SVNRevision defaultValue)
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.public String getDepthOption()
public boolean isIgnoreExternalsOption()
public SubversionSCM.ModuleLocation getExpandedLocation(hudson.model.AbstractBuild<?,?> build)
build - Build instance for expanding parameters into their valuespublic static List<SubversionSCM.ModuleLocation> parse(String[] remoteLocations, String[] localLocations, String[] depthOptions, boolean[] isIgnoreExternals)
Copyright © 2004-2015 Hudson. All Rights Reserved.