|
||||||||||
| 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
public abstract class AbstractTasksResult
Base class for tasks detail objects.
| Constructor Summary | |
|---|---|
AbstractTasksResult(hudson.model.AbstractBuild<?,?> owner,
java.util.Collection<FileAnnotation> annotations,
java.lang.String high,
java.lang.String normal,
java.lang.String low)
Creates a new instance of AbstractTasksDetail. |
|
| Method Summary | |
|---|---|
protected void |
annotationAdded(FileAnnotation annotation)
Called if the specified annotation has been added to this container. |
protected void |
createDetailGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
AnnotationProvider detailObject,
int upperBound)
Creates a detail graph for the specified detail object. |
java.util.Collection<java.lang.String> |
getAvailablePriorities()
Returns the defined priorities. |
hudson.model.AbstractBuild<?,?> |
getOwner()
Returns the current build as owner of this result object. |
java.lang.String |
getPackageCategoryName()
Returns the package category name for the scanned files. |
java.util.List<java.lang.String> |
getPriorities()
Returns the actually used priorities. |
java.lang.String |
getTags(Priority priority)
Returns the tags for the specified priority. |
java.lang.String |
getTags(java.lang.String priority)
Returns the tags for the specified priority. |
boolean |
isCurrent()
Returns whether this result object belongs to the last build. |
| 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 |
| Methods inherited from interface hudson.model.ModelObject |
|---|
getDisplayName |
| Constructor Detail |
|---|
public AbstractTasksResult(hudson.model.AbstractBuild<?,?> owner,
java.util.Collection<FileAnnotation> annotations,
java.lang.String high,
java.lang.String normal,
java.lang.String low)
AbstractTasksDetail.
owner - the current build as owner of this result objecthigh - tag identifiers indicating high prioritynormal - tag identifiers indicating normal prioritylow - tag identifiers indicating low priorityannotations - all the files that contain tasks| Method Detail |
|---|
protected final void annotationAdded(FileAnnotation annotation)
annotationAdded in class AnnotationContainerannotation - the added annotationpublic java.lang.String getPackageCategoryName()
public final hudson.model.AbstractBuild<?,?> getOwner()
public final boolean isCurrent()
true if this result belongs to the last buildpublic java.util.List<java.lang.String> getPriorities()
public java.util.Collection<java.lang.String> getAvailablePriorities()
public final java.lang.String getTags(java.lang.String priority)
priority - the priority
public final java.lang.String getTags(Priority priority)
priority - the priority
protected final void createDetailGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
AnnotationProvider detailObject,
int upperBound)
throws java.io.IOException
request - Stapler requestresponse - Stapler responsedetailObject - the detail object to compute the graph forupperBound - the upper bound of all tasks
java.io.IOException - in case of an error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||