hudson.plugins.findbugs
Class PackageDetail

java.lang.Object
  extended by hudson.plugins.findbugs.util.model.AnnotationContainer
      extended by hudson.plugins.findbugs.AbstractWarningsDetail
          extended by hudson.plugins.findbugs.PackageDetail
All Implemented Interfaces:
hudson.model.ModelObject, AnnotationProvider, java.io.Serializable

public class PackageDetail
extends AbstractWarningsDetail

Result object to visualize the package statistics of a module.

See Also:
Serialized Form

Constructor Summary
PackageDetail(hudson.model.AbstractBuild<?,?> owner, JavaPackage javaPackage)
          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).
 JavaPackage getPackage()
          Returns the maven module.
 
Methods inherited from class hudson.plugins.findbugs.AbstractWarningsDetail
createDetailGraph, getOwner, isCurrent
 
Methods inherited from class hudson.plugins.findbugs.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

PackageDetail

public PackageDetail(hudson.model.AbstractBuild<?,?> owner,
                     JavaPackage javaPackage)
Creates a new instance of ModuleDetail.

Parameters:
owner - current build as owner of this action.
javaPackage - the package to show the details for
Method Detail

getDisplayName

public java.lang.String getDisplayName()


getPackage

public JavaPackage getPackage()
Returns the maven module.

Returns:
the maven module

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).

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.