hudson.plugins.perforce
Class PerforceRepositoryBrowser
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<PerforceChangeLogEntry>
hudson.plugins.perforce.PerforceRepositoryBrowser
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, Serializable
- Direct Known Subclasses:
- FishEyePerforce, P4Web, Perfbrowse
public abstract class PerforceRepositoryBrowser
- extends hudson.scm.RepositoryBrowser<PerforceChangeLogEntry>
RepositoryBrowser for Perforce.
- Author:
- Mike wille
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Methods inherited from class hudson.scm.RepositoryBrowser |
all, getChangeSetLink, normalizeToEndWithSlash, trimHeadSlash |
| Methods inherited from class hudson.model.AbstractDescribableImpl |
getDescriptor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerforceRepositoryBrowser
public PerforceRepositoryBrowser()
getDiffLink
public abstract URL getDiffLink(Changelist.FileEntry file)
throws IOException
- Determines the link to the diff between the version.
in the
PerforceChangeLogEntry.Change.File to its previous version.
- Returns:
- null if the browser doesn't have any URL for diff.
- Throws:
IOException
getFileLink
public abstract URL getFileLink(Changelist.FileEntry file)
throws IOException
- Determines the link to a single file under Perforce.
This page should display all the past revisions of this file, etc.
- Returns:
- null if the browser doesn't have any suitable URL.
- Throws:
IOException
Copyright © 2004-2013 Hudson. All Rights Reserved.