Class FishEyeBrowser
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<RepositoryBrowser<?>>
-
- hudson.scm.RepositoryBrowser<P4ChangeEntry>
-
- org.jenkinsci.plugins.p4.browsers.P4Browser
-
- org.jenkinsci.plugins.p4.browsers.FishEyeBrowser
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<RepositoryBrowser<?>>
,Serializable
public class FishEyeBrowser extends P4Browser
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FishEyeBrowser.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description FishEyeBrowser(String url, String rootModule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URL
getChangeSetLink(P4ChangeEntry changeSet)
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
getRootModule()
-
Methods inherited from class org.jenkinsci.plugins.p4.browsers.P4Browser
getSafeUrl, getUrl, parseRevision
-
Methods inherited from class hudson.scm.RepositoryBrowser
all, normalizeToEndWithSlash, trimHeadSlash
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
getRootModule
public String getRootModule()
-
getChangeSetLink
public URL getChangeSetLink(P4ChangeEntry changeSet) throws IOException
- Specified by:
getChangeSetLink
in classRepositoryBrowser<P4ChangeEntry>
- Throws:
IOException
-
getDiffLink
public URL getDiffLink(P4AffectedFile file, P4Ref change) throws Exception
Description copied from class:P4Browser
Determines the link to the diff between the version.- Specified by:
getDiffLink
in classP4Browser
- Parameters:
file
- Perforce file specchange
- changelist number- Returns:
- null if the browser doesn't have any URL for diff.
- Throws:
Exception
- push up stack
-
getFileLink
public URL getFileLink(P4AffectedFile file) throws Exception
Description copied from class:P4Browser
Determines the link to a single file under Perforce. This page should display all the past revisions of this file, etc.- Specified by:
getFileLink
in classP4Browser
- Parameters:
file
- Perforce file spec- Returns:
- null if the browser doesn't have any suitable URL.
- Throws:
Exception
- push up stack
-
getJobLink
public URL getJobLink(String job) throws Exception
Description copied from class:P4Browser
Determines the link for associated Perforce jobs.- Specified by:
getJobLink
in classP4Browser
- Parameters:
job
- ID- Returns:
- null if the browser doesn't have any suitable URL.
- Throws:
Exception
- push up stack
-
-