@ExportedBean @Extension public class JQSMonitoring extends Object implements hudson.model.RootAction
| Constructor and Description |
|---|
JQSMonitoring()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
doConfigSubmit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Accepts the parameters from the local configuration page and passes them
on to LocalConfig class.
|
void |
doSetDefaults(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Sets the default values for the configuration.
|
hudson.model.Api |
getApi()
REST API.
|
BuildQueue |
getBuildQueue()
Refreshes and returns the instance of BuildQueue.
|
String |
getDisplayName()
Returns the display name for this plugin.
|
String |
getFailedBuildHistogram()
Returns the address of the failed-jobs histogram.
|
FailHistory |
getFailHistory()
Returns the instance of FailHistory.
|
String |
getIconFileName()
Returns the icon url for this plugin.
|
String |
getIconsURL()
Returns the icons url for this plugin.
|
ArrayList<RunningJob> |
getJobsRunningTooLong()
Returns a list of jobs that have been running for too long.
|
LocalConfig |
getLocalConfig()
Returns an instance of the configuration.
|
int |
getNumberOfAllJobs()
Returns the number of all jobs in Jenkins/Hudson.
|
String |
getRootURL()
Returns the root url for this plugin.
|
SlavesHolder |
getSlavesHolder()
Returns an instance of the SlavesHolder.
|
String |
getUrlName()
Returns the url for this plugin.
|
public hudson.model.Api getApi()
@Exported public String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObject@Exported public String getIconFileName()
getIconFileName in interface hudson.model.Action@Exported public String getUrlName()
getUrlName in interface hudson.model.Action@Exported(inline=true) public BuildQueue getBuildQueue()
@Exported public String getRootURL()
@Exported public String getIconsURL()
@Exported public int getNumberOfAllJobs()
@Exported(inline=true) public ArrayList<RunningJob> getJobsRunningTooLong()
@Exported(inline=true) public FailHistory getFailHistory()
@Exported public String getFailedBuildHistogram()
public void doConfigSubmit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException
req - Requestrsp - ResponseIOException - input/ouputjavax.servlet.ServletExceptionpublic void doSetDefaults(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException
req - Requestrsp - ResponseIOExceptionjavax.servlet.ServletExceptionpublic LocalConfig getLocalConfig()
@Exported(inline=true) public SlavesHolder getSlavesHolder()
Copyright © 2004-2013. All Rights Reserved.