public class WarningsAggregator extends Object
| Constructor and Description |
|---|
WarningsAggregator(boolean isCheckStyleActivated,
boolean isDryActivated,
boolean isFindBugsActivated,
boolean isPmdActivated,
boolean isOpenTasksActivated,
boolean isWarningsActivated)
Creates a new instance of
WarningsAggregator. |
| Modifier and Type | Method and Description |
|---|---|
String |
getCheckStyle(hudson.model.Job<?,?> job)
Returns the number of Checkstyle warnings for the specified job.
|
String |
getCompilerWarnings(hudson.model.Job<?,?> job)
Returns the total number of warnings for the specified job.
|
String |
getDry(hudson.model.Job<?,?> job)
Returns the number of duplicate code warnings for the specified job.
|
String |
getFindBugs(hudson.model.Job<?,?> job)
Returns the number of FindBugs warnings for the specified job.
|
String |
getPmd(hudson.model.Job<?,?> job)
Returns the number of PMD warnings for the specified job.
|
String |
getTasks(hudson.model.Job<?,?> job)
Returns the number of open tasks for the specified job.
|
String |
getTotal(hudson.model.Job<?,?> job)
Returns the number of warnings for the specified job.
|
boolean |
isCheckStyleActivated()
Returns whether CheckStyle results should be shown.
|
boolean |
isDryActivated()
Returns whether DRY results should be shown.
|
boolean |
isFindBugsActivated()
Returns whether FindBugs results should be shown.
|
boolean |
isOpenTasksActivated()
Returns whether open tasks should be shown.
|
boolean |
isPmdActivated()
Returns whether PMD results should be shown.
|
boolean |
isWarningsActivated()
Returns whether compiler warnings results should be shown.
|
public WarningsAggregator(boolean isCheckStyleActivated,
boolean isDryActivated,
boolean isFindBugsActivated,
boolean isPmdActivated,
boolean isOpenTasksActivated,
boolean isWarningsActivated)
WarningsAggregator.isCheckStyleActivated - determines whether to show the warnings from CheckstyleisDryActivated - determines whether to show the warnings from DRYisFindBugsActivated - determines whether to show the warnings from FindBugsisPmdActivated - determines whether to show the warnings from PMDisOpenTasksActivated - determines whether to show open tasksisWarningsActivated - determines whether to show compiler warningspublic boolean isCheckStyleActivated()
true if CheckStyle results should be shown, false otherwisepublic boolean isDryActivated()
true if DRY results should be shown, false otherwisepublic boolean isFindBugsActivated()
true if FindBugs results should be shown, false otherwisepublic boolean isPmdActivated()
true if PMD results should be shown, false otherwisepublic boolean isOpenTasksActivated()
true if open tasks should be shown, false otherwisepublic boolean isWarningsActivated()
true if compiler warnings results should be shown, false otherwisepublic String getCheckStyle(hudson.model.Job<?,?> job)
job - the job to get the warnings forpublic String getDry(hudson.model.Job<?,?> job)
job - the job to get the warnings forpublic String getFindBugs(hudson.model.Job<?,?> job)
job - the job to get the warnings forpublic String getPmd(hudson.model.Job<?,?> job)
job - the job to get the warnings forpublic String getTasks(hudson.model.Job<?,?> job)
job - the job to get the tasks forpublic String getCompilerWarnings(hudson.model.Job<?,?> job)
job - the job to get the warnings forpublic String getTotal(hudson.model.Job<?,?> job)
job - the job to get the warnings forCopyright © 2004-2013. All Rights Reserved.