hudson.plugins.tasks
Class PackageDetail
java.lang.Object
hudson.plugins.tasks.util.model.AnnotationContainer
hudson.plugins.tasks.AbstractTasksResult
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.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 |
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 objecthigh - tag identifiers indicating high prioritynormal - tag identifiers indicating normal prioritylow - tag identifiers indicating low priorityjavaPackage - the selected Java package to show
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 filerequest - Stapler requestresponse - Stapler response
- Returns:
- the dynamic result of the tasks analysis (detail page for a
package).
Copyright © 2008. All Rights Reserved.