Class SwarmBrowser
java.lang.Object
hudson.model.AbstractDescribableImpl<RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<P4ChangeEntry>
org.jenkinsci.plugins.p4.browsers.P4Browser
org.jenkinsci.plugins.p4.browsers.SwarmBrowser
- All Implemented Interfaces:
ExtensionPoint,Describable<RepositoryBrowser<?>>,Serializable
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChangeSetLink(P4ChangeEntry changeSet) getDiffLink(P4AffectedFile file, P4Ref change) Determines the link to the diff between the version.getFileLink(P4AffectedFile file) Determines the link to a single file under Perforce.getJobLink(String job) Determines the link for associated Perforce jobs.getLabelSetLink(P4ChangeEntry changeSet) Methods inherited from class org.jenkinsci.plugins.p4.browsers.P4Browser
getSafeUrl, getUrl, parseRevisionMethods inherited from class hudson.scm.RepositoryBrowser
all, normalizeToEndWithSlash, trimHeadSlashMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
SwarmBrowser
-
-
Method Details
-
getChangeSetLink
- Specified by:
getChangeSetLinkin classRepositoryBrowser<P4ChangeEntry>- Throws:
IOException
-
getLabelSetLink
- Throws:
IOException
-
getDiffLink
Description copied from class:P4BrowserDetermines the link to the diff between the version.- Specified by:
getDiffLinkin 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
Description copied from class:P4BrowserDetermines the link to a single file under Perforce. This page should display all the past revisions of this file, etc.- Specified by:
getFileLinkin classP4Browser- Parameters:
file- Perforce file spec- Returns:
- null if the browser doesn't have any suitable URL.
- Throws:
Exception- push up stack
-
getJobLink
Description copied from class:P4BrowserDetermines the link for associated Perforce jobs.- Specified by:
getJobLinkin classP4Browser- Parameters:
job- ID- Returns:
- null if the browser doesn't have any suitable URL.
- Throws:
Exception- push up stack
-