hudson.model
Class UpdateSite.Data

java.lang.Object
  extended by hudson.model.UpdateSite.Data
Enclosing class:
UpdateSite

public final class UpdateSite.Data
extends Object

In-memory representation of the update center data.


Field Summary
 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
          The UpdateSite ID.
 
Method Summary
 boolean canUpgrade()
          Do we support upgrade?
 boolean hasCoreUpdates()
          Is there a new version of the core?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceId

public final String sourceId
The UpdateSite 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

hasCoreUpdates

public boolean hasCoreUpdates()
Is there a new version of the core?


canUpgrade

public boolean canUpgrade()
Do we support upgrade?



Copyright © 2004-2013. All Rights Reserved.