com.cloudbees.jenkins.plugins.enterpriseplugins
Class CloudBeesUpdateSite
java.lang.Object
hudson.model.UpdateSite
com.cloudbees.jenkins.plugins.enterpriseplugins.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 |
| Methods inherited from class hudson.model.UpdateSite |
doInvalidateData, getApi, getAvailables, getConnectionCheckUrl, getData, getId, getJSONObject, getPlugin, getUpdates, getUrl, hasUpdates, isLegacyDefault, updateDirectly |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloudBeesUpdateSite
public CloudBeesUpdateSite(String id,
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 String getDownloadUrl()
- Overrides:
getDownloadUrl in class hudson.model.UpdateSite
doPostBack
public hudson.util.FormValidation doPostBack(org.kohsuke.stapler.StaplerRequest req)
throws IOException,
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:
IOException
GeneralSecurityException
doVerifySignature
public hudson.util.FormValidation doVerifySignature()
throws IOException
- Overrides:
doVerifySignature in class hudson.model.UpdateSite
- Throws:
IOException
isDue
public boolean isDue()
-
- Overrides:
isDue in class hudson.model.UpdateSite
Copyright © 2004-2013. All Rights Reserved.