|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hudson.model.UpdateSite jp.ikedam.jenkins.plugins.updatesitesmanager.DescribedUpdateSite jp.ikedam.jenkins.plugins.updatesitesmanager.ManagedUpdateSite
public class ManagedUpdateSite
Extended UpdateSite to be managed in UpdateSitesManager. ManagedUpdateSite provides following features.
Nested Class Summary | |
---|---|
static class |
ManagedUpdateSite.DescriptorImpl
Descriptor for this class. |
Nested classes/interfaces inherited from class hudson.model.UpdateSite |
---|
hudson.model.UpdateSite.Data, hudson.model.UpdateSite.Entry, hudson.model.UpdateSite.Plugin |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Field Summary |
---|
Fields inherited from class hudson.model.UpdateSite |
---|
neverUpdate |
Constructor Summary | |
---|---|
ManagedUpdateSite(String id,
String url,
boolean useCaCertificate,
String caCertificate,
String note,
boolean disabled)
Create a new instance |
Method Summary | |
---|---|
String |
getCaCertificate()
Returns the CA certificate to verify the signature. |
protected jenkins.util.JSONSignatureValidator |
getJsonSignatureValidator()
Verifier for the signature of downloaded update-center.json. |
String |
getNote()
Returns the note Note is only used for the displaying purpose. |
boolean |
isDisabled()
Returns whether this site is disabled. |
boolean |
isUseCaCertificate()
Returns whether to use CA certificate. |
void |
setCaCertificate(String caCertificate)
Set the CA certificate to verify the signature. |
Methods inherited from class jp.ikedam.jenkins.plugins.updatesitesmanager.DescribedUpdateSite |
---|
all, getAvailables, getDescriptor, getUpdates, hasUpdates, isDue |
Methods inherited from class hudson.model.UpdateSite |
---|
doInvalidateData, doPostBack, doVerifySignature, getApi, getConnectionCheckUrl, getData, getDataTimestamp, getDownloadUrl, getId, getJSONObject, getPlugin, getUrl, isLegacyDefault, updateDirectly, updateDirectlyNow |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@DataBoundConstructor public ManagedUpdateSite(String id, String url, boolean useCaCertificate, String caCertificate, String note, boolean disabled)
id
- url
- useCaCertificate
- caCertificate
- note
- disabled
- Method Detail |
---|
public String getCaCertificate()
public void setCaCertificate(String caCertificate)
public boolean isUseCaCertificate()
public boolean isDisabled()
isDisabled
in class DescribedUpdateSite
public String getNote()
getNote
in class DescribedUpdateSite
@Nonnull protected jenkins.util.JSONSignatureValidator getJsonSignatureValidator()
getJsonSignatureValidator
in class hudson.model.UpdateSite
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |