|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.pmd.util.model.AnnotationContainer
hudson.plugins.pmd.AbstractWarningsDetail
hudson.plugins.pmd.ModuleDetail
public class ModuleDetail
Result object to visualize the package statistics of a module.
| Constructor Summary | |
|---|---|
ModuleDetail(hudson.model.AbstractBuild<?,?> owner,
MavenModule module)
Creates a new instance of ModuleDetail. |
|
| Method Summary | |
|---|---|
void |
doPackageStatistics(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Generates a PNG image for high/normal/low distribution of a Java package. |
java.lang.String |
getDisplayName()
|
java.lang.Object |
getDynamic(java.lang.String link,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Returns the dynamic result of this PMD detail view. |
MavenModule |
getModule()
Returns the maven module. |
java.util.Collection<JavaPackage> |
getPackages()
Returns the packages of this module. |
java.lang.String |
getToolTip(java.lang.String packageName)
Returns a tooltip showing the distribution of priorities for the selected package. |
boolean |
isSinglePackageModule()
Returns whether this module contains just one Java package. |
| Methods inherited from class hudson.plugins.pmd.AbstractWarningsDetail |
|---|
createDetailGraph, getOwner, isCurrent |
| Methods inherited from class hudson.plugins.pmd.util.model.AnnotationContainer |
|---|
addAnnotation, addAnnotations, addAnnotations, annotationAdded, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getToolTip, hasAnnotations, hasAnnotations, hasAnnotations, rebuildPriorities |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModuleDetail(hudson.model.AbstractBuild<?,?> owner,
MavenModule module)
ModuleDetail.
owner - current build as owner of this action.module - the module to show the details for| Method Detail |
|---|
public java.lang.String getDisplayName()
public MavenModule getModule()
public java.util.Collection<JavaPackage> getPackages()
public boolean isSinglePackageModule()
true if this project contains just one Java
package
public final void doPackageStatistics(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws java.io.IOException
request - Stapler requestresponse - Stapler response
java.io.IOException - in case of an error
public java.lang.Object getDynamic(java.lang.String link,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
link - the link to identify the sub page to showrequest - Stapler requestresponse - Stapler response
public java.lang.String getToolTip(java.lang.String packageName)
packageName - the package to show the distribution for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||