public class Phabricator extends GitRepositoryBrowser
| Modifier and Type | Class and Description |
|---|---|
static class |
Phabricator.PhabricatorDescriptor |
ExtensionPoint.LegacyInstancesAreScopedToHudson| 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() |
encodeURL, getIndexOfPath, getNormalizeUrl, getRepoUrl, getUrl, initialChecksAndReturnOk, validateUrlall, normalizeToEndWithSlash, trimHeadSlashgetDescriptorpublic String getRepo()
public URL getChangeSetLink(GitChangeSet changeSet) throws IOException
getChangeSetLink in class RepositoryBrowser<GitChangeSet>IOException - on input or output errorpublic URL getDiffLink(GitChangeSet.Path path) throws IOException
getDiffLink in class GitRepositoryBrowserpath - file path used in diff linkIOException - on input or output errorpublic URL getFileLink(GitChangeSet.Path path) throws IOException
getFileLink in class GitRepositoryBrowserpath - file path used in diff linkIOException - on input or output errorCopyright © 2007–2020. All rights reserved.