|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.findbugs.util.model.AnnotationContainer
hudson.plugins.findbugs.util.AbstractAnnotationsDetail
public abstract class AbstractAnnotationsDetail
Base class for annotation detail objects. Instances of this class could be used for Hudson Stapler objects that contain a subset of annotations.
| Constructor Summary | |
|---|---|
AbstractAnnotationsDetail(hudson.model.AbstractBuild<?,?> owner,
java.util.Collection<FileAnnotation> annotations,
java.lang.String name)
Creates a new instance of AbstractWarningsDetail. |
|
| Method Summary | |
|---|---|
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. |
protected hudson.model.ModelObject |
getDynamic(java.lang.String link)
Returns the dynamic result of this module detail view. |
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. |
java.lang.String |
getLocalizedPriority(java.lang.String priorityName)
Returns a localized priority name. |
hudson.model.AbstractBuild<?,?> |
getOwner()
Returns the build as owner of this object. |
Priority[] |
getPriorities()
Returns all possible priorities. |
boolean |
isCurrent()
Returns whether this build is the last available build. |
| Methods inherited from class hudson.plugins.findbugs.util.model.AnnotationContainer |
|---|
addAnnotation, addAnnotations, addAnnotations, addFile, annotationAdded, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getFile, getFiles, 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 |
| Methods inherited from interface hudson.model.ModelObject |
|---|
getDisplayName |
| Constructor Detail |
|---|
public AbstractAnnotationsDetail(hudson.model.AbstractBuild<?,?> owner,
java.util.Collection<FileAnnotation> annotations,
java.lang.String name)
AbstractWarningsDetail.
owner - current build as owner of this object.annotations - the set of warnings represented by this objectname - the name of this object| Method Detail |
|---|
public final hudson.model.AbstractBuild<?,?> getOwner()
public final boolean isCurrent()
true if this build is the last available build
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 errorpublic java.lang.String getLocalizedPriority(java.lang.String priorityName)
priorityName - priority as String value
public final java.lang.Object getDynamic(java.lang.String link,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
link - the link to identify the sub page to showrequest - Stapler requestresponse - Stapler response
protected hudson.model.ModelObject getDynamic(java.lang.String link)
null must be returned. In this
case, the link will be interpreted as source detail of the specified
annotation.
link - the link to identify the sub page to show, or null if the
source detail should be shown
public Priority[] getPriorities()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||