hudson.plugins.tasks
Class TasksModuleDetail

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

public class TasksModuleDetail
extends hudson.plugins.analysis.views.ModuleDetail

Represents the details of a maven module.

Author:
Ulli Hafner
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.plugins.analysis.util.model.AnnotationContainer
hudson.plugins.analysis.util.model.AnnotationContainer.Hierarchy
 
Constructor Summary
TasksModuleDetail(hudson.model.AbstractBuild<?,?> owner, hudson.plugins.analysis.util.model.MavenModule module, java.lang.String defaultEncoding, java.lang.String header, 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()
          Returns all priorities that have a user defined tag.
 java.lang.Object getDynamic(java.lang.String link, org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
          
 hudson.plugins.analysis.util.model.Priority[] getPriorities()
          
 java.lang.String getTags(hudson.plugins.analysis.util.model.Priority priority)
          Returns the defined tags for the given priority.
 java.lang.String getTags(java.lang.String priority)
          Returns the defined tags for the given priority.
 
Methods inherited from class hudson.plugins.analysis.views.ModuleDetail
getDisplayName, getHeader, getToolTip
 
Methods inherited from class hudson.plugins.analysis.views.AbstractAnnotationsDetail
getDefaultEncoding, getLocalizedPriority, getOwner, isCurrent
 
Methods inherited from class hudson.plugins.analysis.util.model.AnnotationContainer
addAnnotation, addAnnotations, addAnnotations, compareTo, containsCategory, containsFile, containsModule, containsPackage, containsType, equals, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getCategories, getCategory, getCategory, getContainer, getFile, getFile, getFiles, getHighAnnotations, getHighPriority, getLowAnnotations, getLowPriority, getModule, getModule, getModules, getName, getNormalAnnotations, getNormalPriority, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfHighAnnotations, getNumberOfLowAnnotations, getNumberOfNormalAnnotations, getPackage, getPackage, getPackageCategoryName, getPackages, getSortedAnnotations, getToolTip, getType, getType, getTypes, getUpperBound, hasAnnotations, hasAnnotations, hasAnnotations, hashCode, hasNoAnnotations, hasNoAnnotations, hasNoAnnotations, rebuildMappings, setHierarchy, setName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TasksModuleDetail

public TasksModuleDetail(hudson.model.AbstractBuild<?,?> owner,
                         hudson.plugins.analysis.util.model.MavenModule module,
                         java.lang.String defaultEncoding,
                         java.lang.String header,
                         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
module - the selected module to show
defaultEncoding - the default encoding to be used when reading and parsing files
header - header to be shown on detail page
high - tag identifiers indicating high priority
normal - tag identifiers indicating normal priority
low - tag identifiers indicating low priority
Method Detail

getDynamic

public java.lang.Object getDynamic(java.lang.String link,
                                   org.kohsuke.stapler.StaplerRequest request,
                                   org.kohsuke.stapler.StaplerResponse response)

Overrides:
getDynamic in class hudson.plugins.analysis.views.AbstractAnnotationsDetail

getAvailablePriorities

public java.util.Collection<java.lang.String> getAvailablePriorities()
Returns all priorities that have a user defined tag.

Returns:
all priorities that have a user defined tag

getPriorities

public hudson.plugins.analysis.util.model.Priority[] getPriorities()

Overrides:
getPriorities in class hudson.plugins.analysis.views.AbstractAnnotationsDetail

getTags

public final java.lang.String getTags(hudson.plugins.analysis.util.model.Priority priority)
Returns the defined tags for the given priority.

Parameters:
priority - the priority
Returns:
the defined tags for the given priority

getTags

public final java.lang.String getTags(java.lang.String priority)
Returns the defined tags for the given priority.

Parameters:
priority - the priority
Returns:
the defined tags for the given priority


Copyright © 2004-2011. All Rights Reserved.