@ExportedBean public static final class SubversionSCM.ModuleLocation extends hudson.model.AbstractDescribableImpl<SubversionSCM.ModuleLocation> implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
SubversionSCM.ModuleLocation.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
String |
credentialsId
The credentials to checkout with.
|
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 |
|---|
ModuleLocation(String remote,
String local)
Deprecated.
|
ModuleLocation(String remote,
String local,
String depthOption,
boolean ignoreExternalsOption)
Deprecated.
|
ModuleLocation(String remote,
String credentialsId,
String local,
String depthOption,
boolean ignoreExternalsOption) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDepthOption()
Returns the value of remote depth option.
|
SubversionSCM.ModuleLocation |
getExpandedLocation(hudson.model.AbstractBuild<?,?> build)
Deprecated.
Use
getExpandedLocation(EnvVars) for vars expansion
to be performed on all env vars rather than just build parameters. |
SubversionSCM.ModuleLocation |
getExpandedLocation(hudson.EnvVars env)
Expand location value based on environment variables.
|
SubversionSCM.ModuleLocation |
getExpandedLocation(hudson.model.Job<?,?> project)
If a subversion remote uses $VAR or ${VAR} as a parameterized build,
we expand the url.
|
String |
getLocalDir()
Local directory to place the file to.
|
org.tmatesoft.svn.core.SVNURL |
getRepositoryRoot(hudson.model.AbstractProject context)
Deprecated.
|
org.tmatesoft.svn.core.SVNURL |
getRepositoryRoot(hudson.model.Job context,
hudson.scm.SCM scm) |
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)
Deprecated.
|
UUID |
getUUID(hudson.model.Job context,
hudson.scm.SCM scm)
Repository UUID.
|
boolean |
isIgnoreExternalsOption()
Determines if subversion externals definitions should be ignored.
|
org.tmatesoft.svn.core.io.SVNRepository |
openRepository(hudson.model.AbstractProject context)
Deprecated.
|
org.tmatesoft.svn.core.io.SVNRepository |
openRepository(hudson.model.AbstractProject context,
boolean keepConnection)
Deprecated.
|
org.tmatesoft.svn.core.io.SVNRepository |
openRepository(hudson.model.Job context,
hudson.scm.SCM scm,
boolean keepConnection) |
static List<SubversionSCM.ModuleLocation> |
parse(String[] remoteLocations,
String[] localLocations,
String[] depthOptions,
boolean[] isIgnoreExternals)
Deprecated.
|
static List<SubversionSCM.ModuleLocation> |
parse(String[] remoteLocations,
String[] credentialIds,
String[] localLocations,
String[] depthOptions,
boolean[] isIgnoreExternals) |
String |
toString() |
SubversionSCM.ModuleLocation |
withCredentialsId(String credentialsId) |
SubversionSCM.ModuleLocation |
withDepthOption(String depthOption) |
SubversionSCM.ModuleLocation |
withIgnoreExternalsOption(boolean ignoreExternalsOption) |
SubversionSCM.ModuleLocation |
withLocal(String local) |
SubversionSCM.ModuleLocation |
withRemote(String remote) |
@Exported public final String remote
public String credentialsId
@Exported public final String local
getLocalDir(). This field is only intended for form binding.@Exported public final String depthOption
@Exported public boolean ignoreExternalsOption
@Deprecated public ModuleLocation(String remote, String local)
@Deprecated public ModuleLocation(String remote, String local, String depthOption, boolean ignoreExternalsOption)
public SubversionSCM.ModuleLocation withRemote(String remote)
public SubversionSCM.ModuleLocation withCredentialsId(String credentialsId)
public SubversionSCM.ModuleLocation withLocal(String local)
public SubversionSCM.ModuleLocation withDepthOption(String depthOption)
public SubversionSCM.ModuleLocation withIgnoreExternalsOption(boolean ignoreExternalsOption)
public String getLocalDir()
public String getURL()
remote by removing
possible "@NNN" suffix.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.Job context, hudson.scm.SCM scm) throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNException@Deprecated public UUID getUUID(hudson.model.AbstractProject context) throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNException@Deprecated public org.tmatesoft.svn.core.io.SVNRepository openRepository(hudson.model.AbstractProject context) throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNException@Deprecated public org.tmatesoft.svn.core.io.SVNRepository openRepository(hudson.model.AbstractProject context, boolean keepConnection) throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic org.tmatesoft.svn.core.io.SVNRepository openRepository(hudson.model.Job context,
hudson.scm.SCM scm,
boolean keepConnection)
throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNException@Deprecated public org.tmatesoft.svn.core.SVNURL getRepositoryRoot(hudson.model.AbstractProject context) throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNException@Nonnull
public org.tmatesoft.svn.core.SVNURL getRepositoryRoot(hudson.model.Job context,
hudson.scm.SCM scm)
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)
getExpandedLocation(EnvVars) for vars expansion
to be performed on all env vars rather than just build parameters.build - Build instance for expanding parameters into their valuespublic SubversionSCM.ModuleLocation getExpandedLocation(hudson.EnvVars env)
@Deprecated public static List<SubversionSCM.ModuleLocation> parse(String[] remoteLocations, String[] localLocations, String[] depthOptions, boolean[] isIgnoreExternals)
public static List<SubversionSCM.ModuleLocation> parse(String[] remoteLocations, String[] credentialIds, String[] localLocations, String[] depthOptions, boolean[] isIgnoreExternals)
public SubversionSCM.ModuleLocation getExpandedLocation(hudson.model.Job<?,?> project)
Copyright © 2004–2015. All rights reserved.