public class WarningsCountColumn
extends hudson.views.ListViewColumn
| Modifier and Type | Class and Description |
|---|---|
static class |
WarningsCountColumn.ColumnDescriptor
Descriptor for the column.
|
| Constructor and Description |
|---|
WarningsCountColumn(boolean isCheckStyleActivated,
boolean isDryActivated,
boolean isFindBugsActivated,
boolean isPmdActivated,
boolean isOpenTasksActivated,
boolean isWarningsActivated)
Creates a new instance of
WarningsCountColumn. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDetails(hudson.model.Job<?,?> job)
Returns the number of warnings for the specified job separated by each plug-in.
|
String |
getNumberOfAnnotations(hudson.model.Job<?,?> project)
Returns the total number of annotations for the selected 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.
|
@DataBoundConstructor
public WarningsCountColumn(boolean isCheckStyleActivated,
boolean isDryActivated,
boolean isFindBugsActivated,
boolean isPmdActivated,
boolean isOpenTasksActivated,
boolean isWarningsActivated)
WarningsCountColumn.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 getNumberOfAnnotations(hudson.model.Job<?,?> project)
project - the selected projectpublic String getDetails(hudson.model.Job<?,?> job)
job - the job to get the warnings forCopyright © 2004-2014. All Rights Reserved.