hudson.plugins.pmd.util
Class NewWarningsDetail
java.lang.Object
hudson.plugins.pmd.util.model.AnnotationContainer
hudson.plugins.pmd.util.AbstractAnnotationsDetail
hudson.plugins.pmd.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.
- 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()
|
java.lang.Object |
getDynamic(java.lang.String link,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Returns the dynamic result of this object (detail page for a source file). |
| Methods inherited from class hudson.plugins.pmd.util.model.AnnotationContainer |
addAnnotation, addAnnotations, addAnnotations, annotationAdded, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getPackageCategoryName, getToolTip, hasAnnotations, hasAnnotations, hasAnnotations, rebuildPriorities |
| 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()
-
getDynamic
public java.lang.Object getDynamic(java.lang.String link,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
- 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 forrequest - Stapler requestresponse - Stapler response
- Returns:
- the dynamic result of this object (detail page for a source file).
Copyright © 2008. All Rights Reserved.