hudson.plugins.tasks.util
Class DetailBuilder

java.lang.Object
  extended by hudson.plugins.tasks.util.DetailBuilder

public class DetailBuilder
extends java.lang.Object

Creates detail objects for the selected element of a annotation container.

Author:
Ulli Hafner

Constructor Summary
DetailBuilder()
           
 
Method Summary
 java.lang.Object createDetails(java.lang.String link, hudson.model.AbstractBuild<?,?> owner, AnnotationContainer container, java.lang.String displayName)
          Returns a detail object for the selected element of the specified annotation container.
 java.lang.Object createTrendDetails(java.lang.String link, hudson.model.AbstractBuild<?,?> owner, AnnotationContainer container, java.util.Collection<FileAnnotation> fixedAnnotations, java.util.Collection<FileAnnotation> newAnnotations, java.util.Collection<java.lang.String> errors, java.lang.String displayName)
          Returns a detail object for the selected element of the specified annotation container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetailBuilder

public DetailBuilder()
Method Detail

createTrendDetails

public java.lang.Object createTrendDetails(java.lang.String link,
                                           hudson.model.AbstractBuild<?,?> owner,
                                           AnnotationContainer container,
                                           java.util.Collection<FileAnnotation> fixedAnnotations,
                                           java.util.Collection<FileAnnotation> newAnnotations,
                                           java.util.Collection<java.lang.String> errors,
                                           java.lang.String displayName)
Returns a detail object for the selected element of the specified annotation container. The details will include the new and fixed warnings trends as well as the errors report.

Parameters:
link - the link to identify the sub page to show
owner - the build as owner of the detail page
container - the annotation container to get the details for
fixedAnnotations - the annotations fixed in this build
newAnnotations - the annotations new in this build
errors - the errors in this build
displayName - the name of the selected object
Returns:
the dynamic result of this module detail view

createDetails

public java.lang.Object createDetails(java.lang.String link,
                                      hudson.model.AbstractBuild<?,?> owner,
                                      AnnotationContainer container,
                                      java.lang.String displayName)
Returns a detail object for the selected element of the specified annotation container.

Parameters:
link - the link to identify the sub page to show
owner - the build as owner of the detail page
container - the annotation container to get the details for
displayName - the name of the selected object
Returns:
the dynamic result of this module detail view


Copyright © 2008. All Rights Reserved.