com.cloudbees.jenkins.plugins.freeplugins
Class CloudBeesUpdateSite
java.lang.Object
hudson.model.UpdateSite
com.cloudbees.jenkins.plugins.freeplugins.CloudBeesUpdateSite
public class CloudBeesUpdateSite
- extends hudson.model.UpdateSite
An update site that uses the CloudBees certificate for signing.
| Nested classes/interfaces inherited from class hudson.model.UpdateSite |
hudson.model.UpdateSite.Data, hudson.model.UpdateSite.Entry, hudson.model.UpdateSite.Plugin |
| Fields inherited from class hudson.model.UpdateSite |
neverUpdate, signatureCheck |
|
Constructor Summary |
CloudBeesUpdateSite(java.lang.String id,
java.lang.String url)
Constructor. |
|
Method Summary |
hudson.util.FormValidation |
doPostBack(org.kohsuke.stapler.StaplerRequest req)
This is the endpoint that receives the update center data file from the browser. |
hudson.util.FormValidation |
doVerifySignature()
|
long |
getDataTimestamp()
returns the data timestamp. |
java.lang.String |
getDownloadUrl()
|
boolean |
isDue()
|
| Methods inherited from class hudson.model.UpdateSite |
getAvailables, getConnectionCheckUrl, getData, getId, getJSONObject, getPlugin, getUpdates, getUrl, hasUpdates, isLegacyDefault |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloudBeesUpdateSite
public CloudBeesUpdateSite(java.lang.String id,
java.lang.String url)
- Constructor.
- Parameters:
id - the ID of the update site.url - the url of the update site.
getDataTimestamp
public long getDataTimestamp()
- returns the data timestamp.
- Overrides:
getDataTimestamp in class hudson.model.UpdateSite
- Returns:
getDownloadUrl
public java.lang.String getDownloadUrl()
- Overrides:
getDownloadUrl in class hudson.model.UpdateSite
doPostBack
public hudson.util.FormValidation doPostBack(org.kohsuke.stapler.StaplerRequest req)
throws java.io.IOException,
java.security.GeneralSecurityException
- This is the endpoint that receives the update center data file from the browser.
Mirrors
UpdateSite.doPostBack(org.kohsuke.stapler.StaplerRequest) as there is no other way to override
the verification of the signature.
- Overrides:
doPostBack in class hudson.model.UpdateSite
- Throws:
java.io.IOException
java.security.GeneralSecurityException
doVerifySignature
public hudson.util.FormValidation doVerifySignature()
throws java.io.IOException
- Overrides:
doVerifySignature in class hudson.model.UpdateSite
- Throws:
java.io.IOException
isDue
public boolean isDue()
-
- Overrides:
isDue in class hudson.model.UpdateSite
Copyright © 2004-2012. All Rights Reserved.