hudson.plugins.tasks
Class TasksModuleDetail

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

public class TasksModuleDetail
extends ModuleDetail

Represents the details of a maven module.

Author:
Ulli Hafner
See Also:
Serialized Form

Constructor Summary
TasksModuleDetail(hudson.model.AbstractBuild<?,?> owner, MavenModule module, java.lang.String high, java.lang.String normal, java.lang.String low)
          Creates a new instance of ModuleDetail.
 
Method Summary
 java.util.Collection<java.lang.String> getAvailablePriorities()
           
 hudson.model.ModelObject getDynamic(java.lang.String link)
          Returns the dynamic result of this module detail view, which is either a task detail object for a single workspace file or a package detail object.
 Priority[] getPriorities()
          Returns all possible priorities.
 java.lang.String getTags(Priority priority)
           
 java.lang.String getTags(java.lang.String priority)
           
 
Methods inherited from class hudson.plugins.tasks.util.ModuleDetail
doPackageStatistics, getDisplayName, getFile, getFiles, getHeader, getModule, getPackages, getToolTip, isSinglePackageModule
 
Methods inherited from class hudson.plugins.tasks.util.AbstractAnnotationsDetail
createDetailGraph, getDynamic, getLocalizedPriority, getOwner, isCurrent
 
Methods inherited from class hudson.plugins.tasks.util.model.AnnotationContainer
addAnnotation, addAnnotations, addAnnotations, addFile, annotationAdded, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, 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

TasksModuleDetail

public TasksModuleDetail(hudson.model.AbstractBuild<?,?> owner,
                         MavenModule module,
                         java.lang.String high,
                         java.lang.String normal,
                         java.lang.String low)
Creates a new instance of ModuleDetail.

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
module - the selected module to show
Method Detail

getDynamic

public hudson.model.ModelObject getDynamic(java.lang.String link)
Returns the dynamic result of this module detail view, which is either a task detail object for a single workspace file or a package detail object.

Overrides:
getDynamic in class ModuleDetail
Parameters:
link - the link containing the path to the selected workspace file (or package)
Returns:
the dynamic result of the FindBugs analysis (detail page for a package).
See Also:
ModuleDetail.isSinglePackageModule()

getAvailablePriorities

public java.util.Collection<java.lang.String> getAvailablePriorities()

getPriorities

public Priority[] getPriorities()
Description copied from class: AbstractAnnotationsDetail
Returns all possible priorities.

Overrides:
getPriorities in class AbstractAnnotationsDetail
Returns:
all priorities

getTags

public final java.lang.String getTags(Priority priority)

getTags

public final java.lang.String getTags(java.lang.String priority)


Copyright © 2008. All Rights Reserved.