hudson.plugins.checkstyle.util
Class NewWarningsDetail

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

public class NewWarningsDetail
extends AbstractAnnotationsDetail

Result object to visualize the new warnings in a build.

Author:
Ulli Hafner
See Also:
Serialized Form

Constructor Summary
NewWarningsDetail(hudson.model.AbstractBuild<?,?> owner, java.util.Collection<FileAnnotation> newWarnings, java.lang.String header)
          Creates a new instance of NewWarningsDetail.
 
Method Summary
 java.lang.String getDisplayName()
          
 hudson.model.ModelObject getDynamic(java.lang.String link)
          Returns the dynamic result of this object (detail page for a source file).
 
Methods inherited from class hudson.plugins.checkstyle.util.AbstractAnnotationsDetail
createDetailGraph, getDynamic, getLocalizedPriority, getOwner, getPriorities, isCurrent
 
Methods inherited from class hudson.plugins.checkstyle.util.model.AnnotationContainer
addAnnotation, addAnnotations, addAnnotations, addFile, annotationAdded, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getFile, getFiles, getName, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getPackageCategoryName, getToolTip, hasAnnotations, hasAnnotations, hasAnnotations, rebuildMappings, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewWarningsDetail

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

Parameters:
owner - the current build as owner of this action
newWarnings - all new warnings in this build
header - header to be shown on detail page
Method Detail

getDisplayName

public java.lang.String getDisplayName()


getDynamic

public hudson.model.ModelObject getDynamic(java.lang.String link)
Returns the dynamic result of this object (detail page for a source file).

Overrides:
getDynamic in class AbstractAnnotationsDetail
Parameters:
link - the source file to get the result for
Returns:
the dynamic result of this object (detail page for a source file).


Copyright © 2008. All Rights Reserved.