|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.tasks.util.model.AnnotationContainer
hudson.plugins.tasks.AbstractTasksResult
hudson.plugins.tasks.ModuleDetail
public class ModuleDetail
Represents the details of a maven module.
| Constructor Summary | |
|---|---|
ModuleDetail(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 | |
|---|---|
void |
doPackageStatistics(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Generates a PNG image for high/normal/low distribution of a java package. |
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 module detail view, which is either a task detail object for a single workspace file or a package detail object. |
java.util.Collection<WorkspaceFile> |
getFiles()
Gets the files of this module that have open tasks. |
java.util.Collection<JavaPackage> |
getPackages()
Gets the packages of this module that have open tasks. |
java.lang.String |
getToolTip(java.lang.String packageName)
Returns a tooltip showing the distribution of priorities for the selected package. |
boolean |
isSinglePackageModule()
Returns whether we only have a single module. |
| 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 |
|---|
public ModuleDetail(hudson.model.AbstractBuild<?,?> owner,
MavenModule module,
java.lang.String high,
java.lang.String normal,
java.lang.String low)
ModuleDetail.
owner - the current build as owner of this result objecthigh - tag identifiers indicating high prioritynormal - tag identifiers indicating normal prioritylow - tag identifiers indicating low prioritymodule - the selected module to show| Method Detail |
|---|
public java.lang.String getDisplayName()
public java.util.Collection<JavaPackage> getPackages()
public java.util.Collection<WorkspaceFile> getFiles()
public java.lang.String getToolTip(java.lang.String packageName)
packageName - the package to show the distribution for
public final void doPackageStatistics(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws java.io.IOException
request - Stapler requestresponse - Stapler response
java.io.IOException - in case of an error
public java.lang.Object getDynamic(java.lang.String link,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
link - the link containing the path to the selected workspace file
(or package)request - Stapler requestresponse - Stapler response
isSinglePackageModule()public boolean isSinglePackageModule()
true for single module projects
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||