hudson.plugins.tasks
Class PackageDetail

java.lang.Object
  extended by hudson.plugins.tasks.util.model.AnnotationContainer
      extended by hudson.plugins.tasks.AbstractTasksResult
          extended by hudson.plugins.tasks.PackageDetail
All Implemented Interfaces:
hudson.model.ModelObject, AnnotationProvider, java.io.Serializable

public class PackageDetail
extends AbstractTasksResult

Represents the tasks details of a Java package.

See Also:
Serialized Form

Constructor Summary
PackageDetail(hudson.model.AbstractBuild<?,?> owner, JavaPackage javaPackage, java.lang.String high, java.lang.String normal, java.lang.String low)
          Creates a new instance of PackageDetail.
 
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 package detail view, which is a task detail object for a single workspace file.
 java.util.Collection<WorkspaceFile> getFiles()
          Gets the files of this package that have open tasks.
 
Methods inherited from class hudson.plugins.tasks.AbstractTasksResult
annotationAdded, createDetailGraph, getAvailablePriorities, getOwner, getPackageCategoryName, getPriorities, getTags, getTags, isCurrent
 
Methods inherited from class hudson.plugins.tasks.util.model.AnnotationContainer
addAnnotation, addAnnotations, addAnnotations, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getToolTip, hasAnnotations, hasAnnotations, hasAnnotations, rebuildPriorities
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageDetail

public PackageDetail(hudson.model.AbstractBuild<?,?> owner,
                     JavaPackage javaPackage,
                     java.lang.String high,
                     java.lang.String normal,
                     java.lang.String low)
Creates a new instance of PackageDetail.

Parameters:
owner - the current build as owner of this result object
high - tag identifiers indicating high priority
normal - tag identifiers indicating normal priority
low - tag identifiers indicating low priority
javaPackage - the selected Java package to show
Method Detail

getDisplayName

public java.lang.String getDisplayName()


getFiles

public java.util.Collection<WorkspaceFile> getFiles()
Gets the files of this package that have open tasks.

Returns:
the files

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 package detail view, which is a task detail object for a single workspace file.

Parameters:
link - the link containing the path to the selected workspace file
request - Stapler request
response - Stapler response
Returns:
the dynamic result of the tasks analysis (detail page for a package).


Copyright © 2008. All Rights Reserved.