package org.jenkinsci.plugins.p4.browsers; import hudson.scm.RepositoryBrowser; import java.net.URL; import org.jenkinsci.plugins.p4.changes.P4ChangeEntry; import com.perforce.p4java.core.IJob; import com.perforce.p4java.core.file.IFileSpec; public abstract class P4Browser extends RepositoryBrowser<P4ChangeEntry> { private static final long serialVersionUID = 1L; /** * Determines the link to the diff between the version. in the * {@link PerforceChangeLogEntry.Change.File} to its previous version. * * @return null if the browser doesn't have any URL for diff. */ public abstract URL getDiffLink(IFileSpec file) throws Exception; /** * Determines the link to a single file under Perforce. This page should * display all the past revisions of this file, etc. * * @return null if the browser doesn't have any suitable URL. */ public abstract URL getFileLink(IFileSpec file) throws Exception; public abstract URL getJobLink(IJob job) throws Exception; }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 12955 | Sven Erik Knop | Branching using sknop.p4jenkins-main | ||
//guest/perforce_software/p4jenkins/main/src/main/java/org/jenkinsci/plugins/p4/browsers/P4Browser.java | |||||
#1 | 9690 | Paul Allen |
[Branching using p4-jenkins] Release 1.0.1 |
||
//guest/paul_allen/dev/p4-jenkins/p4-client/src/main/java/org/jenkinsci/plugins/p4/browsers/P4Browser.java | |||||
#1 | 9672 | Paul Allen | Refactor name from 'p4_client' to 'p4'. | ||
//guest/paul_allen/dev/p4-jenkins/p4-client/src/main/java/org/jenkinsci/plugins/p4_client/browsers/P4Browser.java | |||||
#1 | 8915 | Paul Allen |
Support for ChangeLog and RepoBrowser. - Added RepoBrowser for Swarm (porting the others should be easy) - ChangeLog XML file now only stores the changelist number all other information is fetched from Perforce |