Package hudson.model
Class UpdateSite.Data
- java.lang.Object
-
- hudson.model.UpdateSite.Data
-
- Enclosing class:
- UpdateSite
public final class UpdateSite.Data extends Object
In-memory representation of the update center data.
-
-
Field Summary
Fields Modifier and Type Field Description String
connectionCheckUrl
If this is non-null, Jenkins is going to check the connectivity to this URL to make sure the network connection is up.UpdateSite.Entry
core
The latest jenkins.war.Map<String,UpdateSite.Plugin>
plugins
Plugins in the repository, keyed by their artifact IDs.String
sourceId
TheUpdateSite
ID.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canUpgrade()
Do we support upgrade?Map<String,UpdateSite.Deprecation>
getDeprecations()
Returns the deprecations provided by the update siteSet<UpdateSite.Warning>
getWarnings()
Returns the set of warningsboolean
hasCoreUpdates()
Is there a new version of the core?
-
-
-
Field Detail
-
sourceId
public final String sourceId
TheUpdateSite
ID.
-
core
public final UpdateSite.Entry core
The latest jenkins.war.
-
plugins
public final Map<String,UpdateSite.Plugin> plugins
Plugins in the repository, keyed by their artifact IDs.
-
connectionCheckUrl
public final String 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.
-
-
Method Detail
-
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?
-
-