public class OpenGrokBrowser extends P4Browser
Modifier and Type | Class and Description |
---|---|
static class |
OpenGrokBrowser.DescriptorImpl |
Constructor and Description |
---|
OpenGrokBrowser(String url,
String depotPath,
String projectName) |
Modifier and Type | Method and Description |
---|---|
URL |
getChangeSetLink(P4ChangeEntry changeSet) |
String |
getDepotPath() |
URL |
getDiffLink(P4AffectedFile file,
P4Ref change)
Determines the link to the diff between the version.
|
URL |
getFileLink(P4AffectedFile file)
Determines the link to a single file under Perforce.
|
URL |
getJobLink(String job)
Determines the link for associated Perforce jobs.
|
String |
getProjectName() |
getSafeUrl, getUrl, parseRevision
public String getDepotPath()
public String getProjectName()
public URL getDiffLink(P4AffectedFile file, P4Ref change) throws Exception
P4Browser
getDiffLink
in class P4Browser
file
- Perforce file specchange
- changelist numberException
- push up stackpublic URL getFileLink(P4AffectedFile file) throws Exception
P4Browser
getFileLink
in class P4Browser
file
- Perforce file specException
- push up stackpublic URL getJobLink(String job) throws Exception
P4Browser
getJobLink
in class P4Browser
job
- IDException
- push up stackpublic URL getChangeSetLink(P4ChangeEntry changeSet) throws IOException
getChangeSetLink
in class hudson.scm.RepositoryBrowser<P4ChangeEntry>
IOException
Copyright © 2016–2019. All rights reserved.