hudson.plugins.pmd.util
Class AttributeDetail
java.lang.Object
hudson.plugins.pmd.util.model.AnnotationContainer
hudson.plugins.pmd.util.AbstractAnnotationsDetail
hudson.plugins.pmd.util.AttributeDetail
- All Implemented Interfaces:
- hudson.model.ModelObject, AnnotationProvider, java.io.Serializable
public class AttributeDetail
- extends AbstractAnnotationsDetail
Result object to visualize the statistics of a category.
- Author:
- Ulli Hafner
- See Also:
- Serialized Form
|
Constructor Summary |
AttributeDetail(hudson.model.AbstractBuild<?,?> owner,
java.util.Collection<FileAnnotation> annotations,
java.lang.String header,
java.lang.String name)
Creates a new instance of ModuleDetail. |
|
Method Summary |
protected java.util.Collection<? extends AnnotationContainer> |
getChildren()
Returns the children containers of this container. |
java.lang.String |
getDisplayName()
|
java.lang.String |
getToolTip(java.lang.String category)
Returns a tooltip showing the distribution of priorities for the selected
category. |
| 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 |
AttributeDetail
public AttributeDetail(hudson.model.AbstractBuild<?,?> owner,
java.util.Collection<FileAnnotation> annotations,
java.lang.String header,
java.lang.String name)
- Creates a new instance of
ModuleDetail.
- Parameters:
owner - current build as owner of this action.annotations - the module to show the details forheader - header to be shown on detail page
getDisplayName
public java.lang.String getDisplayName()
-
getToolTip
public java.lang.String getToolTip(java.lang.String category)
- Returns a tooltip showing the distribution of priorities for the selected
category.
- Parameters:
category - the category to show the distribution for
- Returns:
- a tooltip showing the distribution of priorities
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.