Class UpdateCenter.CoreUpdateMonitor
- All Implemented Interfaces:
- ExtensionPoint,- ModelObject,- SearchableModelObject,- SearchItem,- org.kohsuke.stapler.StaplerProxy
- Enclosing class:
- UpdateCenter
AdministrativeMonitor that checks if there's Jenkins update.- 
Nested Class SummaryNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Field SummaryFields inherited from class hudson.model.AdministrativeMonitorid
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetData()Required permission to view this admin monitor.booleanReturns true if this monitor is activated and wants to produce a warning message.Methods inherited from class hudson.model.AdministrativeMonitorall, disable, doDisable, getSearchUrl, getTarget, getUrl, isEnabled, isSecurityMethods inherited from class hudson.model.AbstractModelObjectgetSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
- 
Constructor Details- 
CoreUpdateMonitorpublic CoreUpdateMonitor()
 
- 
- 
Method Details- 
getDisplayName- Specified by:
- getDisplayNamein interface- ModelObject
- Overrides:
- getDisplayNamein class- AdministrativeMonitor
 
- 
isActivatedpublic boolean isActivated()Description copied from class:AdministrativeMonitorReturns true if this monitor is activated and wants to produce a warning message.This method is called from the HTML rendering thread, so it should run efficiently. - Specified by:
- isActivatedin class- AdministrativeMonitor
 
- 
getData
- 
getRequiredPermissionDescription copied from class:AdministrativeMonitorRequired permission to view this admin monitor. By defaultJenkins.ADMINISTER, butJenkins.SYSTEM_READis also supported.Changing this permission check to return Jenkins.SYSTEM_READwill make the active administrative monitor appear onmanage.jellyand on the globally visibleAdministrativeMonitorsDecoratorto users without Administer permission.AdministrativeMonitor.doDisable(StaplerRequest, StaplerResponse)will still always require Administer permission.Implementers need to ensure that doActand other web methods perform necessary permission checks: Users with System Read permissions are expected to be limited to read-only access. Form UI elements that change system state, e.g. toggling a feature on or off, need to be hidden from users lacking Administer permission.- Overrides:
- getRequiredPermissionin class- AdministrativeMonitor
 
 
-