public abstract class P4Browser extends hudson.scm.RepositoryBrowser<P4ChangeEntry>
Modifier and Type | Method and Description |
---|---|
abstract URL |
getDiffLink(P4AffectedFile file,
P4Ref change)
Determines the link to the diff between the version.
|
abstract URL |
getFileLink(P4AffectedFile file)
Determines the link to a single file under Perforce.
|
abstract URL |
getJobLink(String job)
Determines the link for associated Perforce jobs.
|
URL |
getSafeUrl() |
String |
getUrl() |
protected int |
parseRevision(P4AffectedFile file) |
public P4Browser(String url)
public final String getUrl()
public URL getSafeUrl()
public abstract URL getDiffLink(P4AffectedFile file, P4Ref change) throws Exception
file
- Perforce file specchange
- changelist numberException
- push up stackpublic abstract URL getFileLink(P4AffectedFile file) throws Exception
file
- Perforce file specException
- push up stackpublic abstract URL getJobLink(String job) throws Exception
job
- IDException
- push up stackprotected int parseRevision(P4AffectedFile file)
Copyright © 2016–2021. All rights reserved.