hudson.plugins.warnings.util
Class ModuleDetail

java.lang.Object
  extended by hudson.plugins.warnings.util.model.AnnotationContainer
      extended by hudson.plugins.warnings.util.AbstractAnnotationsDetail
          extended by hudson.plugins.warnings.util.ModuleDetail
All Implemented Interfaces:
hudson.model.ModelObject, AnnotationProvider, java.io.Serializable, java.lang.Comparable<AnnotationContainer>

public class ModuleDetail
extends AbstractAnnotationsDetail

Result object to visualize the package statistics of a module.

Author:
Ulli Hafner
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.plugins.warnings.util.model.AnnotationContainer
AnnotationContainer.Hierarchy
 
Constructor Summary
ModuleDetail(hudson.model.AbstractBuild<?,?> owner, MavenModule module, java.lang.String header)
          Creates a new instance of ModuleDetail.
 
Method Summary
 java.lang.String getDisplayName()
          
 java.lang.String getHeader()
          Returns the header for the detail screen.
 java.lang.String getToolTip(java.lang.String packageName)
          Returns a tooltip showing the distribution of priorities for the selected package.
 
Methods inherited from class hudson.plugins.warnings.util.AbstractAnnotationsDetail
doStatistics, getDynamic, getLocalizedPriority, getOwner, getPriorities, isCurrent
 
Methods inherited from class hudson.plugins.warnings.util.model.AnnotationContainer
addAnnotation, addAnnotations, addAnnotations, compareTo, containsCategory, containsFile, containsModule, containsPackage, containsType, equals, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getCategories, getCategory, getContainer, getFile, getFile, getFiles, getHighAnnotations, getHighPriority, getLowAnnotations, getLowPriority, getModule, getModule, getModules, getName, getNormalAnnotations, getNormalPriority, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getPackage, getPackage, getPackageCategoryName, getPackages, getToolTip, getType, getTypes, hasAnnotations, hasAnnotations, hasAnnotations, hashCode, hasNoAnnotations, hasNoAnnotations, hasNoAnnotations, rebuildMappings, setHierarchy, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleDetail

public ModuleDetail(hudson.model.AbstractBuild<?,?> owner,
                    MavenModule module,
                    java.lang.String header)
Creates a new instance of ModuleDetail.

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

getDisplayName

public java.lang.String getDisplayName()


getHeader

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

Overrides:
getHeader in class AbstractAnnotationsDetail
Returns:
the header

getToolTip

public java.lang.String getToolTip(java.lang.String packageName)
Returns a tooltip showing the distribution of priorities for the selected package.

Parameters:
packageName - the package to show the distribution for
Returns:
a tooltip showing the distribution of priorities


Copyright © 2008. All Rights Reserved.