hudson.plugins.pmd.util
Class FixedWarningsDetail

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

public class FixedWarningsDetail
extends AbstractAnnotationsDetail

Result object to visualize the fixed warnings in a build.

Author:
Ulli Hafner
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.plugins.pmd.util.model.AnnotationContainer
AnnotationContainer.Hierarchy
 
Constructor Summary
FixedWarningsDetail(hudson.model.AbstractBuild<?,?> owner, java.util.Collection<FileAnnotation> fixedWarnings, java.lang.String header)
          Creates a new instance of FixedWarningsDetail.
 
Method Summary
protected  java.util.Collection<? extends AnnotationContainer> getChildren()
          Returns the children containers of this container.
 java.lang.String getDisplayName()
          
 
Methods inherited from class hudson.plugins.pmd.util.AbstractAnnotationsDetail
createDetailGraph, doStatistics, getDynamic, getHeader, getLocalizedPriority, getOwner, getPriorities, isCurrent
 
Methods inherited from class hudson.plugins.pmd.util.model.AnnotationContainer
addAnnotation, addAnnotations, addAnnotations, containsCategory, containsFile, containsModule, containsPackage, containsType, getAnnotation, getAnnotation, getAnnotationBound, getAnnotations, getAnnotations, getAnnotations, getCategories, getCategory, getContainer, getFile, getFile, getFiles, getHighAnnotations, getHighPriority, getLowAnnotations, getLowPriority, getModule, getModules, getName, getNormalAnnotations, getNormalPriority, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getPackage, getPackageCategoryName, getPackages, getToolTip, getType, getTypes, hasAnnotations, hasAnnotations, hasAnnotations, hasNoAnnotations, hasNoAnnotations, hasNoAnnotations, rebuildMappings, setHierarchy, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedWarningsDetail

public FixedWarningsDetail(hudson.model.AbstractBuild<?,?> owner,
                           java.util.Collection<FileAnnotation> fixedWarnings,
                           java.lang.String header)
Creates a new instance of FixedWarningsDetail.

Parameters:
owner - the current results object as owner of this action
fixedWarnings - all fixed warnings in this build
header - header to be shown on detail page
Method Detail

getDisplayName

public java.lang.String getDisplayName()


getChildren

protected java.util.Collection<? extends AnnotationContainer> getChildren()
Returns the children containers of this container. If we are already at the leaf level, then an empty collection is returned.

Specified by:
getChildren in class AnnotationContainer
Returns:
the children containers of this container.


Copyright © 2008. All Rights Reserved.