|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.scm.SubversionSCM.ModuleLocation
@ExportedBean public static final class SubversionSCM.ModuleLocation
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
| Field Summary | |
|---|---|
java.lang.String |
local
Deprecated. Code should use getLocalDir(). This field is only intended for form binding. |
java.lang.String |
remote
Subversion URL to check out. |
| Constructor Summary | |
|---|---|
SubversionSCM.ModuleLocation(java.lang.String remote,
java.lang.String local)
|
|
| Method Summary | |
|---|---|
SubversionSCM.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<SubversionSCM.ModuleLocation> |
parse(java.lang.String[] remoteLocations,
java.lang.String[] localLocations)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@Exported public final java.lang.String remote
@Exported public final java.lang.String local
getLocalDir(). This field is only intended for form binding.
| Constructor Detail |
|---|
@DataBoundConstructor
public SubversionSCM.ModuleLocation(java.lang.String remote,
java.lang.String local)
| Method Detail |
|---|
public java.lang.String getLocalDir()
public java.lang.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.SVNException
public java.util.UUID getUUID(hudson.model.AbstractProject context)
throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNException
public org.tmatesoft.svn.core.io.SVNRepository openRepository(hudson.model.AbstractProject context)
throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNException
public 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 SubversionSCM.ModuleLocation getExpandedLocation(hudson.model.AbstractBuild<?,?> build)
build - Build instance for expanding parameters into their values
public java.lang.String toString()
toString in class java.lang.Object
public static java.util.List<SubversionSCM.ModuleLocation> parse(java.lang.String[] remoteLocations,
java.lang.String[] localLocations)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||