hudson.plugins.sitemonitor
Class SiteMonitorRootAction
java.lang.Object
hudson.plugins.sitemonitor.SiteMonitorRootAction
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Action, hudson.model.ModelObject, hudson.model.RootAction
public class SiteMonitorRootAction
- extends java.lang.Object
- implements hudson.model.RootAction
This class keeps the site monitoring results to be used in the report page.
Display name, icon file name, and URL name are used to construct the root
menu on the left side of a build page.
- Author:
- cliffano
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Field Summary |
private java.util.List<Result> |
mResults
Site monitoring results. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mResults
private java.util.List<Result> mResults
- Site monitoring results.
SiteMonitorRootAction
public SiteMonitorRootAction(java.util.List<Result> results)
- Constructs
SiteMonitorRootAction.
- Parameters:
results - site monitoring results
getDisplayName
public final java.lang.String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.Action- Specified by:
getDisplayName in interface hudson.model.ModelObject
- Returns:
- the text of site monitor link on the left menu on build page.
getIconFileName
public final java.lang.String getIconFileName()
- Specified by:
getIconFileName in interface hudson.model.Action
- Returns:
- the icon of site monitor link on the left menu on build page.
getUrlName
public final java.lang.String getUrlName()
- Specified by:
getUrlName in interface hudson.model.Action
- Returns:
- the URL of site monitor link on the left menu on build page.
getResults
public final java.util.List<Result> getResults()
- Returns:
- site monitoring results
Copyright © 2010. All Rights Reserved.