Package hudson.model
Class UpdateSite.Data
java.lang.Object
hudson.model.UpdateSite.Data
- Enclosing class:
 UpdateSite
In-memory representation of the update center data.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringIf this is non-null, Jenkins is going to check the connectivity to this URL to make sure the network connection is up.final UpdateSite.EntryThe latest jenkins.war.final booleanfinal Map<String, UpdateSite.Plugin> Plugins in the repository, keyed by their artifact IDs.final StringTheUpdateSiteID. - 
Method Summary
Modifier and TypeMethodDescriptionbooleanDo we support upgrade?Returns the deprecations provided by the update siteReturns the set of warningsbooleanIs there a new version of the core? 
- 
Field Details
- 
sourceId
TheUpdateSiteID. - 
core
The latest jenkins.war. - 
plugins
Plugins in the repository, keyed by their artifact IDs. - 
connectionCheckUrl
If this is non-null, Jenkins is going to check the connectivity to this URL to make sure the network connection is up. Null to skip the check. - 
healthScoresAvailable
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public final boolean healthScoresAvailable 
 - 
 - 
Method Details
- 
getWarnings
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public Set<UpdateSite.Warning> getWarnings()Returns the set of warnings- Returns:
 - the set of warnings
 - Since:
 - 2.40
 
 - 
getDeprecations
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public Map<String,UpdateSite.Deprecation> getDeprecations()Returns the deprecations provided by the update site- Returns:
 - the deprecations provided by the update site
 - Since:
 - 2.246
 
 - 
hasCoreUpdates
public boolean hasCoreUpdates()Is there a new version of the core? - 
canUpgrade
public boolean canUpgrade()Do we support upgrade? 
 -