Package hudson.scm.browsers
Class Phabricator
java.lang.Object
hudson.model.AbstractDescribableImpl<RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<SubversionChangeLogSet.LogEntry>
hudson.scm.SubversionRepositoryBrowser
hudson.scm.browsers.Phabricator
- All Implemented Interfaces:
ExtensionPoint
,Describable<RepositoryBrowser<?>>
,Serializable
Svn Browser for Phabricator
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetChangeSetLink
(SubversionChangeLogSet.LogEntry changeSet) Creates a link to the changeset https://[Phabricator URL]/r$repo$revisionCreates a link to the commit diff.Creates a link to the file.getRepo()
getUrl()
Methods inherited from class hudson.scm.RepositoryBrowser
all, normalizeToEndWithSlash, trimHeadSlash
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
repo
The repo id for the projectWithout leading "r"
-
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.
-
-
Constructor Details
-
Phabricator
-
-
Method Details
-
getUrl
-
getRepo
-
getChangeSetLink
Creates a link to the changeset https://[Phabricator URL]/r$repo$revision- Specified by:
getChangeSetLink
in classRepositoryBrowser<SubversionChangeLogSet.LogEntry>
- Returns:
- diff link
- Throws:
IOException
-
getDiffLink
Creates a link to the commit diff. https://[Phabricator URL]/diffusion/$repo/change/master/$path;$revision- Specified by:
getDiffLink
in classSubversionRepositoryBrowser
- Parameters:
path
-- Returns:
- diff link
- Throws:
IOException
-
getFileLink
Creates a link to the file. https://[Phabricator URL]/diffusion/$repo/history/master/$path;$revision- Specified by:
getFileLink
in classSubversionRepositoryBrowser
- Parameters:
path
-- Returns:
- file link
- Throws:
IOException
-