hudson.plugins.pmd.util
Class PrioritiesDetail

java.lang.Object
  extended by hudson.plugins.pmd.util.model.AnnotationContainer
      extended by hudson.plugins.pmd.util.AbstractAnnotationsDetail
          extended by hudson.plugins.pmd.util.PrioritiesDetail
All Implemented Interfaces:
hudson.model.ModelObject, AnnotationProvider, java.io.Serializable

public class PrioritiesDetail
extends AbstractAnnotationsDetail

Result object to visualize the priorities statistics of a module.

See Also:
Serialized Form

Constructor Summary
PrioritiesDetail(hudson.model.AbstractBuild<?,?> owner, java.util.Collection<FileAnnotation> annotations, Priority priority, java.lang.String header)
          Creates a new instance of ModuleDetail.
 
Method Summary
 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 the FindBugs analysis (detail page for a package).
 java.lang.String getHeader()
          Returns the header for the detail screen.
 
Methods inherited from class hudson.plugins.pmd.util.AbstractAnnotationsDetail
createDetailGraph, getDynamic, getLocalizedPriority, getOwner, getPriorities, getTitle, isCurrent
 
Methods inherited from class hudson.plugins.pmd.util.model.AnnotationContainer
addAnnotation, addAnnotations, addAnnotations, annotationAdded, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getPackageCategoryName, 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

PrioritiesDetail

public PrioritiesDetail(hudson.model.AbstractBuild<?,?> owner,
                        java.util.Collection<FileAnnotation> annotations,
                        Priority priority,
                        java.lang.String header)
Creates a new instance of ModuleDetail.

Parameters:
owner - current build as owner of this action.
annotations - the package to show the details for
priority - the priority of all annotations
header - header to be shown on detail page
Method Detail

getHeader

public java.lang.String getHeader()
Returns the header for the detail screen.

Returns:
the header

getDisplayName

public java.lang.String getDisplayName()


getDynamic

public java.lang.Object getDynamic(java.lang.String link,
                                   org.kohsuke.stapler.StaplerRequest request,
                                   org.kohsuke.stapler.StaplerResponse response)
Returns the dynamic result of the FindBugs analysis (detail page for a package).

Overrides:
getDynamic in class AbstractAnnotationsDetail
Parameters:
link - the package name to get the result for
request - Stapler request
response - Stapler response
Returns:
the dynamic result of the FindBugs analysis (detail page for a package).


Copyright © 2008. All Rights Reserved.