hudson.plugins.pmd.util
Class PrioritiesDetail
java.lang.Object
hudson.plugins.pmd.util.model.AnnotationContainer
hudson.plugins.pmd.util.AbstractAnnotationsDetail
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 an annotation container.
- Author:
- Ulli Hafner
- 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. |
| 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, getFiles, getHighAnnotations, getLowAnnotations, getModule, getModules, getName, getNormalAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getPackage, getPackageCategoryName, getPackages, getToolTip, getType, getTypes, hasAnnotations, hasAnnotations, hasAnnotations, rebuildMappings, setHierarchy, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 forpriority - the priority of all annotationsheader - header to be shown on detail page
getHeader
public java.lang.String getHeader()
- Returns the header for the detail screen.
- Overrides:
getHeader in class AbstractAnnotationsDetail
- Returns:
- the header
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.