public class OpenGrokBrowser extends P4Browser
Modifier and Type | Class and Description |
---|---|
static class |
OpenGrokBrowser.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
String |
depotPath
The Perforce depot path for the 'project', e.g.
|
String |
projectName
The name of the 'project' in OpenGrok, e.g.
|
URL |
url
The URL of the OpenGrok server, e.g.
|
Constructor and Description |
---|
OpenGrokBrowser(URL url,
String depotPath,
String projectName) |
Modifier and Type | Method and Description |
---|---|
URL |
getChangeSetLink(P4ChangeEntry changeSet) |
URL |
getDiffLink(com.perforce.p4java.core.file.IFileSpec file)
Determines the link to the diff between the version.
|
URL |
getFileLink(com.perforce.p4java.core.file.IFileSpec file)
Determines the link to a single file under Perforce.
|
URL |
getJobLink(com.perforce.p4java.core.IJob job) |
public final URL url
public final String depotPath
public final String projectName
public URL getDiffLink(com.perforce.p4java.core.file.IFileSpec file) throws Exception
P4Browser
PerforceChangeLogEntry.Change.File
to its previous version.getDiffLink
in class P4Browser
Exception
public URL getFileLink(com.perforce.p4java.core.file.IFileSpec file) throws Exception
P4Browser
getFileLink
in class P4Browser
Exception
public URL getJobLink(com.perforce.p4java.core.IJob job) throws Exception
getJobLink
in class P4Browser
Exception
public URL getChangeSetLink(P4ChangeEntry changeSet) throws IOException
getChangeSetLink
in class hudson.scm.RepositoryBrowser<P4ChangeEntry>
IOException
Copyright © 2004-2015. All Rights Reserved.