hudson.plugins.perforce.browsers
Class FishEyePerforce
java.lang.Object
hudson.scm.RepositoryBrowser<PerforceChangeLogEntry>
hudson.plugins.perforce.PerforceRepositoryBrowser
hudson.plugins.perforce.browsers.FishEyePerforce
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, java.io.Serializable
public final class FishEyePerforce
- extends PerforceRepositoryBrowser
Repository browser for Perforce in a FishEye server.
- See Also:
- Serialized Form
| Methods inherited from class hudson.scm.RepositoryBrowser |
normalizeToEndWithSlash, trimHeadSlash |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
url
public final java.net.URL url
- The URL of the FishEye repository, e.g.
http://deadlock.netbeans.org/fisheye/browse/netbeans/
DESCRIPTOR
public static final FishEyePerforce.DescriptorImpl DESCRIPTOR
FishEyePerforce
@DataBoundConstructor
public FishEyePerforce(java.net.URL url)
getDiffLink
public java.net.URL getDiffLink(com.tek42.perforce.model.Changelist.FileEntry file)
throws java.io.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:
java.io.IOException
getFileLink
public java.net.URL getFileLink(com.tek42.perforce.model.Changelist.FileEntry file)
throws java.io.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:
java.io.IOException
getChangeSetLink
public java.net.URL getChangeSetLink(PerforceChangeLogEntry change)
throws java.io.IOException
- Specified by:
getChangeSetLink in class hudson.scm.RepositoryBrowser<PerforceChangeLogEntry>
- Throws:
java.io.IOException
getDescriptor
public FishEyePerforce.DescriptorImpl getDescriptor()
Copyright © 2007. All Rights Reserved.