public class P4WebBrowser extends P4Browser
Modifier and Type | Class and Description |
---|---|
static class |
P4WebBrowser.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
String |
p4ChangeEnd |
String |
p4DiffEnd |
String |
p4FileEnd |
String |
p4JobEnd |
String |
p4LabelEnd |
Constructor and Description |
---|
P4WebBrowser(String url) |
Modifier and Type | Method and Description |
---|---|
URL |
getChangeSetLink(P4ChangeEntry changeSet) |
URL |
getDiffLink(P4AffectedFile file,
String change)
Determines the link to the diff between the version.
|
URL |
getFileLink(P4AffectedFile file)
Determines the link to a single file under Perforce.
|
URL |
getJobLink(String job)
Determines the link for associated Perforce jobs.
|
URL |
getLabelSetLink(P4ChangeEntry changeSet) |
getSafeUrl, getUrl, parseRevision
public final String p4FileEnd
public final String p4DiffEnd
public final String p4ChangeEnd
public final String p4JobEnd
public final String p4LabelEnd
@DataBoundConstructor public P4WebBrowser(String url)
public URL getChangeSetLink(P4ChangeEntry changeSet) throws IOException
getChangeSetLink
in class hudson.scm.RepositoryBrowser<P4ChangeEntry>
IOException
public URL getLabelSetLink(P4ChangeEntry changeSet) throws IOException
IOException
public URL getDiffLink(P4AffectedFile file, String change) throws Exception
P4Browser
getDiffLink
in class P4Browser
file
- Perforce file specchange
- changelist numberException
- push up stackpublic URL getFileLink(P4AffectedFile file) throws Exception
P4Browser
getFileLink
in class P4Browser
file
- Perforce file specException
- push up stackpublic URL getJobLink(String job) throws Exception
P4Browser
getJobLink
in class P4Browser
job
- IDException
- push up stackCopyright © 2016–2017. All rights reserved.