hudson.plugins.perforce.browsers
Class FishEyePerforce
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<PerforceChangeLogEntry>
hudson.plugins.perforce.PerforceRepositoryBrowser
hudson.plugins.perforce.browsers.FishEyePerforce
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, Serializable
public final class FishEyePerforce
- extends PerforceRepositoryBrowser
Repository browser for Perforce in a FishEye server.
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Field Summary |
String |
rootModule
This is the root 'module' of the FishEye repository. |
URL |
url
The URL of the FishEye repository, e.g. |
| Methods inherited from class hudson.scm.RepositoryBrowser |
all, 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 |
url
public final URL url
- The URL of the FishEye repository, e.g.
http://deadlock.netbeans.org/fisheye/browse/netbeans/
rootModule
public final String rootModule
- This is the root 'module' of the FishEye repository.
It is a path that is trimmed from the beginning of depot paths for files.
FishEyePerforce
@DataBoundConstructor
public FishEyePerforce(URL url,
String rootModule)
getDiffLink
public URL getDiffLink(Changelist.FileEntry file)
throws IOException
- Description copied from class:
PerforceRepositoryBrowser
- Determines the link to the diff between the version.
in the
PerforceChangeLogEntry.Change.File to its previous version.
- Specified by:
getDiffLink in class PerforceRepositoryBrowser
- Returns:
- null if the browser doesn't have any URL for diff.
- Throws:
IOException
getFileLink
public URL getFileLink(Changelist.FileEntry file)
throws IOException
- Description copied from class:
PerforceRepositoryBrowser
- 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 class PerforceRepositoryBrowser
- Returns:
- null if the browser doesn't have any suitable URL.
- Throws:
IOException
getChangeSetLink
public URL getChangeSetLink(PerforceChangeLogEntry change)
throws IOException
- Specified by:
getChangeSetLink in class hudson.scm.RepositoryBrowser<PerforceChangeLogEntry>
- Throws:
IOException
getRootModule
public String getRootModule()
Copyright © 2004-2012 Hudson. All Rights Reserved.