Factory for default DashboardSection instances.
| Constructor and description |
|---|
DashboardSectionFactory
(DashboardTask pTask)Create a new DashboardSectionFactory. |
| Type | Name and description |
|---|---|
java.util.Map<java.lang.String, DashboardSection> |
createAvailableDefaultSections()Create all default dashboard sections for which the reports exist. |
DashboardSection |
createCheckstyleSection(org.gradle.api.plugins.quality.Checkstyle pTask)Create a default dashboard section for the XML report of a Checkstyle task. |
DashboardSection |
createCoberturaSection(CoberturaReportsTask pTask)Create a default dashboard section for the XML report of a Cobertura report task. |
DashboardSection |
createCpdSection(CpdTask pTask)Create a default dashboard section for the XML report of a CPD task. |
DashboardSection |
createFindBugsSection(org.gradle.api.plugins.quality.FindBugs pTask)Create a default dashboard section for the XML report of a FindBugs task. |
DashboardSection |
createJDependSection(org.gradle.api.plugins.quality.JDepend pTask)Create a default dashboard section for the XML report of a JDepend task. |
DashboardSection |
createJUnitSection(org.gradle.api.tasks.testing.Test pTask)Create a default dashboard section for the JUnit summary report of a test task. |
DashboardSection |
createJavaNcssSection(JavaNcssTask pTask)Create a default dashboard section for the XML report of a JavaNCSS task. |
DashboardSection |
createPmdSection(org.gradle.api.plugins.quality.Pmd pTask)Create a default dashboard section for the XML report of a PMD task. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Create a new DashboardSectionFactory.
pTask - The task that owns this instance.Create all default dashboard sections for which the reports exist.
Create a default dashboard section for the XML report of a Checkstyle task.
pTask - The Checkstyle task.DashboardSection.Create a default dashboard section for the XML report of a Cobertura report task.
pTask - The Cobertura report task.DashboardSection.Create a default dashboard section for the XML report of a CPD task.
pTask - The CPD task.DashboardSection, or null if the task's primary report is not on the
XML format.Create a default dashboard section for the XML report of a FindBugs task.
pTask - The FindBugs task.DashboardSection.Create a default dashboard section for the XML report of a JDepend task.
pTask - The JDepend task.DashboardSection.Create a default dashboard section for the JUnit summary report of a test task.
pTask - The test task.DashboardSection, or null if the task has no JUnit summary report in
its convention.Create a default dashboard section for the XML report of a JavaNCSS task.
pTask - The JavaNCSS task.DashboardSection, or null if the task's primary report is not on the
XML format.Create a default dashboard section for the XML report of a PMD task.
pTask - The PMD task.DashboardSection.