hudson.scm.browsers
Class SVNWeb
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<SubversionChangeLogSet.LogEntry>
hudson.scm.SubversionRepositoryBrowser
hudson.scm.browsers.SVNWeb
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, Serializable
public final class SVNWeb
- extends SubversionRepositoryBrowser
SVN::Web RepositoryBrowser for Subversion.
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Field Summary |
URL |
url
The URL of the top of the site. |
|
Constructor Summary |
SVNWeb(URL url)
Creates a new SVNWeb object. |
| Methods inherited from class hudson.scm.RepositoryBrowser |
all, normalizeToEndWithSlash, trimHeadSlash |
| Methods inherited from class hudson.model.AbstractDescribableImpl |
getDescriptor |
url
public final URL url
- The URL of the top of the site.
Normalized to ends with '/', like http://svn.apache.org/wsvn/
It may contain a query parameter like ?root=foobar, so relative
URL construction needs to be done with care.
SVNWeb
@DataBoundConstructor
public SVNWeb(URL url)
throws MalformedURLException
- Creates a new SVNWeb object.
- Throws:
MalformedURLException
getDiffLink
public URL getDiffLink(SubversionChangeLogSet.Path path)
throws IOException
- Returns the diff link value.
- Specified by:
getDiffLink in class SubversionRepositoryBrowser
- Parameters:
path - the given path value.
- Returns:
- the diff link value.
- Throws:
IOException - DOCUMENT ME!
getFileLink
public URL getFileLink(SubversionChangeLogSet.Path path)
throws IOException
- Returns the file link value.
- Specified by:
getFileLink in class SubversionRepositoryBrowser
- Parameters:
path - the given path value.
- Returns:
- the file link value.
- Throws:
IOException - DOCUMENT ME!
getChangeSetLink
public URL getChangeSetLink(SubversionChangeLogSet.LogEntry changeSet)
throws IOException
- Returns the change set link value.
- Specified by:
getChangeSetLink in class hudson.scm.RepositoryBrowser<SubversionChangeLogSet.LogEntry>
- Parameters:
changeSet - the given changeSet value.
- Returns:
- the change set link value.
- Throws:
IOException - DOCUMENT ME!
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2004-2012 Hudson. All Rights Reserved.