hudson.plugins.findbugs.util
Class NewWarningsDetail
java.lang.Object
hudson.plugins.findbugs.util.model.AnnotationContainer
hudson.plugins.findbugs.util.AbstractAnnotationsDetail
hudson.plugins.findbugs.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 |
protected java.util.Collection<? extends AnnotationContainer> |
getChildren()
Returns the children containers of this container. |
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). |
java.lang.String |
getHeader()
Returns the header for the detail screen. |
| Methods inherited from class hudson.plugins.findbugs.util.model.AnnotationContainer |
addAnnotation, addAnnotations, addAnnotations, containsFile, containsModule, containsPackage, getAnnotation, getAnnotation, getAnnotationBound, getAnnotations, getAnnotations, getAnnotations, getFile, getFiles, getModule, getModules, getName, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getPackage, getPackageCategoryName, getPackages, getToolTip, hasAnnotations, hasAnnotations, hasAnnotations, rebuildMappings, setHierarchy, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 actionnewWarnings - all new warnings in this buildheader - header to be shown on detail page
getDisplayName
public java.lang.String getDisplayName()
-
getHeader
public java.lang.String getHeader()
- Returns the header for the detail screen.
- Returns:
- the header
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).
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.