|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.view.dashboard.DashboardPortlet
hudson.plugins.analysis.dashboard.AbstractPortlet
hudson.plugins.analysis.dashboard.AbstractWarningsTablePortlet
hudson.plugins.analysis.collector.dashboard.WarningsTablePortlet
public class WarningsTablePortlet
A portlet that shows a table with the number of warnings in a job.
| Nested Class Summary | |
|---|---|
static class |
WarningsTablePortlet.WarningsPerJobDescriptor
Extension point registration. |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Constructor Summary | |
|---|---|
WarningsTablePortlet(java.lang.String name,
boolean useImages)
Creates a new instance of WarningsTablePortlet. |
|
| Method Summary | |
|---|---|
protected java.lang.Class<? extends hudson.plugins.analysis.core.AbstractProjectAction<?>> |
getAction()
|
java.lang.String |
getCheckStyle(java.util.Collection<hudson.model.Job<?,?>> jobs)
Returns the number of Checkstyle warnings for the specified jobs. |
java.lang.String |
getCheckStyle(hudson.model.Job<?,?> job)
Returns the number of Checkstyle warnings for the specified job. |
java.lang.String |
getDry(java.util.Collection<hudson.model.Job<?,?>> jobs)
Returns the number of Dry warnings for the specified jobs. |
java.lang.String |
getDry(hudson.model.Job<?,?> job)
Returns the number of duplicate code warnings for the specified job. |
java.lang.String |
getFindBugs(java.util.Collection<hudson.model.Job<?,?>> jobs)
Returns the number of FindBugs warnings for the specified jobs. |
java.lang.String |
getFindBugs(hudson.model.Job<?,?> job)
Returns the number of FindBugs warnings for the specified job. |
protected java.lang.String |
getPluginName()
|
java.lang.String |
getPmd(java.util.Collection<hudson.model.Job<?,?>> jobs)
Returns the number of PMD warnings for the specified jobs. |
java.lang.String |
getPmd(hudson.model.Job<?,?> job)
Returns the number of PMD warnings for the specified job. |
java.lang.String |
getTasks(java.util.Collection<hudson.model.Job<?,?>> jobs)
Returns the number of open tasks for the specified jobs. |
java.lang.String |
getTasks(hudson.model.Job<?,?> job)
Returns the number of open tasks for the specified job. |
java.lang.String |
getTotal(java.util.Collection<hudson.model.Job<?,?>> jobs)
Returns the total number of warnings for all jobs. |
java.lang.String |
getTotal(hudson.model.Job<?,?> job)
Returns the number of warnings for the specified job. |
boolean |
getUseImages()
Returns whether images should be used in the table header. |
java.lang.String |
getWarnings(java.util.Collection<hudson.model.Job<?,?>> jobs)
Returns the number of compiler warnings for the specified jobs. |
java.lang.String |
getWarnings(hudson.model.Job<?,?> job)
Returns the total number of warnings for the specified job. |
boolean |
isCheckStyleInstalled()
Returns whether the Checkstyle plug-in is installed. |
boolean |
isDryInstalled()
Returns whether the Dry plug-in is installed. |
boolean |
isFindBugsInstalled()
Returns whether the FindBugs plug-in is installed. |
boolean |
isPmdInstalled()
Returns whether the PMD plug-in is installed. |
boolean |
isTasksInstalled()
Returns whether the Open Tasks plug-in is installed. |
boolean |
isWarningsInstalled()
Returns whether the Warnings plug-in is installed. |
boolean |
useIcons()
Returns whether icons should be used in the table header. |
| Methods inherited from class hudson.plugins.analysis.dashboard.AbstractWarningsTablePortlet |
|---|
getWarnings, getWarnings |
| Methods inherited from class hudson.plugins.view.dashboard.DashboardPortlet |
|---|
all, getComparator, getDashboard, getDescriptor, getDisplayName, getId, getJob, getName, getUrl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@DataBoundConstructor
public WarningsTablePortlet(java.lang.String name,
boolean useImages)
WarningsTablePortlet.
name - the name of the portletuseImages - determines whether images should be used in the table header.| Method Detail |
|---|
protected java.lang.Class<? extends hudson.plugins.analysis.core.AbstractProjectAction<?>> getAction()
getAction in class hudson.plugins.analysis.dashboard.AbstractPortletprotected java.lang.String getPluginName()
getPluginName in class hudson.plugins.analysis.dashboard.AbstractPortletpublic boolean getUseImages()
true if images should be used, false if
text shuld be usedpublic boolean useIcons()
true if icons should be used, false if
text shuld be usedpublic boolean isCheckStyleInstalled()
true if the Checkstyle plug-in is installed,
false if not.public boolean isDryInstalled()
true if the Dry plug-in is installed,
false if not.public boolean isFindBugsInstalled()
true if the FindBugs plug-in is installed,
false if not.public boolean isPmdInstalled()
true if the PMD plug-in is installed,
false if not.public boolean isTasksInstalled()
true if the Open Tasks plug-in is installed,
false if not.public boolean isWarningsInstalled()
true if the Warnings plug-in is installed,
false if not.public java.lang.String getCheckStyle(hudson.model.Job<?,?> job)
job - the job to get the warnings for
public java.lang.String getDry(hudson.model.Job<?,?> job)
job - the job to get the warnings for
public java.lang.String getFindBugs(hudson.model.Job<?,?> job)
job - the job to get the warnings for
public java.lang.String getPmd(hudson.model.Job<?,?> job)
job - the job to get the warnings for
public java.lang.String getTasks(hudson.model.Job<?,?> job)
job - the job to get the tasks for
public java.lang.String getWarnings(hudson.model.Job<?,?> job)
getWarnings in class hudson.plugins.analysis.dashboard.AbstractWarningsTablePortletjob - the job to get the warnings for
public java.lang.String getTotal(hudson.model.Job<?,?> job)
job - the job to get the warnings for
public java.lang.String getCheckStyle(java.util.Collection<hudson.model.Job<?,?>> jobs)
jobs - the jobs to get the warnings for
public java.lang.String getDry(java.util.Collection<hudson.model.Job<?,?>> jobs)
jobs - the jobs to get the warnings for
public java.lang.String getFindBugs(java.util.Collection<hudson.model.Job<?,?>> jobs)
jobs - the jobs to get the warnings for
public java.lang.String getPmd(java.util.Collection<hudson.model.Job<?,?>> jobs)
jobs - the jobs to get the warnings for
public java.lang.String getTasks(java.util.Collection<hudson.model.Job<?,?>> jobs)
jobs - the jobs to get the warnings for
public java.lang.String getWarnings(java.util.Collection<hudson.model.Job<?,?>> jobs)
getWarnings in class hudson.plugins.analysis.dashboard.AbstractWarningsTablePortletjobs - the jobs to get the warnings for
public java.lang.String getTotal(java.util.Collection<hudson.model.Job<?,?>> jobs)
jobs - the jobs to get the warnings for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||