public class Phabricator extends GitRepositoryBrowser
| Modifier and Type | Class and Description |
|---|---|
static class |
Phabricator.PhabricatorDescriptor |
| Constructor and Description |
|---|
Phabricator(String repoUrl,
String repo) |
| Modifier and Type | Method and Description |
|---|---|
URL |
getChangeSetLink(GitChangeSet changeSet)
Creates a link to the changeset
https://[Phabricator URL]/r$repo$sha
|
URL |
getDiffLink(GitChangeSet.Path path)
Creates a link to the commit diff.
|
URL |
getFileLink(GitChangeSet.Path path)
Creates a link to the file.
|
String |
getRepo() |
getNormalizeUrl, getRepoUrl, getUrlpublic String getRepo()
public URL getChangeSetLink(GitChangeSet changeSet) throws IOException
getChangeSetLink in class hudson.scm.RepositoryBrowser<GitChangeSet>IOExceptionpublic URL getDiffLink(GitChangeSet.Path path) throws IOException
getDiffLink in class GitRepositoryBrowserpath - IOExceptionpublic URL getFileLink(GitChangeSet.Path path) throws IOException
getFileLink in class GitRepositoryBrowserpath - IOExceptionCopyright © 2004-2015. All Rights Reserved.