Package hudson.scm.browsers
Class AbstractSventon
java.lang.Object
hudson.model.AbstractDescribableImpl<RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<SubversionChangeLogSet.LogEntry>
hudson.scm.SubversionRepositoryBrowser
hudson.scm.browsers.AbstractSventon
- All Implemented Interfaces:
ExtensionPoint,Describable<RepositoryBrowser<?>>,Serializable
- Author:
- Kohsuke Kawaguchi, Maciej Nux
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classIndicates that a repository browser URL is invalid or unsupported.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static URIpreValidateUrl(String value) Does basic pre-validation and uniformization of a Sventon browser URL.Methods inherited from class hudson.scm.SubversionRepositoryBrowser
getDiffLink, getFileLinkMethods inherited from class hudson.scm.RepositoryBrowser
all, getChangeSetLink, normalizeToEndWithSlash, trimHeadSlashMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
url
The URL of the Sventon 2.x repository. This is normally likehttp://somehost.com/svn/Normalized to have '/' at the tail. -
repositoryInstance
Repository instance. Cannot be empty -
URL_CHARSET
The charset to use when encoding paths in an URI (specified in RFC 3986).- See Also:
-
-
Constructor Details
-
AbstractSventon
- Throws:
MalformedURLException
-
-
Method Details
-
getRepositoryInstance
-
preValidateUrl
Does basic pre-validation and uniformization of a Sventon browser URL.- Parameters:
value- the URL string to validate (not null)- Returns:
- the validated URL
- Throws:
AbstractSventon.InvalidUrlException- if the URL is malformed or uses an unsupported protocol
-