|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.UpdateSite
jp.ikedam.jenkins.plugins.updatesitesmanager.DescribedUpdateSite
public abstract class DescribedUpdateSite
Base for UpdateSite that have Descriptor.
| Nested Class Summary |
|---|
| 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 | |
|---|---|
DescribedUpdateSite(String id,
String url)
Constructor |
|
| Method Summary | |
|---|---|
static hudson.DescriptorExtensionList<DescribedUpdateSite,DescribedUpdateSiteDescriptopr> |
all()
Returns all DescribedUpdateSite classes registered to Jenkins. |
List<hudson.model.UpdateSite.Plugin> |
getAvailables()
Returns a list of plugins that should be shown in the "available" tab. |
DescribedUpdateSiteDescriptopr |
getDescriptor()
Returns the descriptor for this class. |
String |
getNote()
Returns note Provided for users to note about this UpdateSite. |
List<hudson.model.UpdateSite.Plugin> |
getUpdates()
Returns the list of plugins that are updates to currently installed ones. |
boolean |
hasUpdates()
Does any of the plugin has updates? Always returns false when disabled. |
boolean |
isDisabled()
Returns whether this UpdateSite is disabled. |
boolean |
isDue()
Returns true if it's time for us to check for new version. |
| Methods inherited from class hudson.model.UpdateSite |
|---|
doInvalidateData, doPostBack, doVerifySignature, getApi, getConnectionCheckUrl, getData, getDataTimestamp, getDownloadUrl, getId, getJSONObject, getJsonSignatureValidator, 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 |
|---|
public DescribedUpdateSite(String id,
String url)
id - url - | Method Detail |
|---|
public boolean isDisabled()
public String getNote()
public List<hudson.model.UpdateSite.Plugin> getAvailables()
getAvailables in class hudson.model.UpdateSiteUpdateSite.getAvailables()public List<hudson.model.UpdateSite.Plugin> getUpdates()
getUpdates in class hudson.model.UpdateSiteUpdateSite.getUpdates()public boolean isDue()
isDue in class hudson.model.UpdateSiteUpdateSite.isDue()public boolean hasUpdates()
hasUpdates in class hudson.model.UpdateSiteUpdateSite.hasUpdates()public static hudson.DescriptorExtensionList<DescribedUpdateSite,DescribedUpdateSiteDescriptopr> all()
public DescribedUpdateSiteDescriptopr getDescriptor()
getDescriptor in interface hudson.model.Describable<DescribedUpdateSite>Describable.getDescriptor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||